GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   HTML gurus, need some help plz (https://gfy.com/showthread.php?t=258804)

DarkJedi 03-26-2004 02:14 AM

HTML gurus, need some help plz
 
Here's the deal:

I got a website with a lot of pages - 100+
Now what i want to do is be able to easily controll the banner spots on these pages.

What can I do in order not to manually change all the pages each time I need to change the banner ? I need it to be done automatically with a change of 1 file.

I need some PHP code for that ? How exactly is it done ?

SGS 03-26-2004 02:18 AM

Take a look at this: http://sourceforge.net/projects/phpadsnew/

We used it for ages with no problems. :2 cents:

Rorschach 03-26-2004 02:19 AM

PHP Code:

<?php include('path/to/bannerhtml'); ?>

Make a plain text file with just the html for your ad and include it on every page with the above code. You'll need to enable parsing html pages for php includes in your .htaccess.

DarkJedi 03-26-2004 02:21 AM

Quote:

Originally posted by Rorschach
PHP Code:

<?php include('path/to/bannerhtml'); ?>

Make a plain text file with just the html for your ad and include it on every page with the above code. You'll need to enable parsing html pages for php includes in your .htaccess.

yeah, thats it.
thanks.

KraZ 03-26-2004 02:25 AM

You could use a regular SSI include:

<!--#include file="file.html" -->

DarkJedi 03-26-2004 02:43 AM

Quote:

Originally posted by KraZ
You could use a regular SSI include:

<!--#include file="file.html" -->

yeah thats pretty easy too.
:thumbsup

Paul Waters 03-26-2004 04:41 AM

Name the banner file banner.jpg and code that in every page.

When you want to change the banner rename the old file something else, and rename the new banner file, banner.jpg

KISS!

:rasta

DarkJedi 03-26-2004 04:43 AM

Quote:

Originally posted by Paul Waters
Name the banner file banner.jpg and code that in every page.

When you want to change the banner rename the old file something else, and rename the new banner file, banner.jpg

KISS!

:rasta


:eek7


weed much ?

Weppel 03-26-2004 06:14 AM

Quote:

Originally posted by Paul Waters
Name the banner file banner.jpg and code that in every page.

When you want to change the banner rename the old file something else, and rename the new banner file, banner.jpg

KISS!

:rasta

And you wouldn't bother to change the link?

Jer 03-26-2004 06:24 AM

Quote:

Originally posted by Paul Waters
Name the banner file banner.jpg and code that in every page.

When you want to change the banner rename the old file something else, and rename the new banner file, banner.jpg

KISS!

:rasta

STONED

CyberTraffic 03-26-2004 06:25 AM

Quote:

Originally posted by DarkJedi
Here's the deal:

I got a website with a lot of pages - 100+
Now what i want to do is be able to easily controll the banner spots on these pages.

What can I do in order not to manually change all the pages each time I need to change the banner ? I need it to be done automatically with a change of 1 file.

I need some PHP code for that ? How exactly is it done ?

Interesting.

DarkJedi 03-26-2004 06:32 AM

Quote:

Originally posted by CyberTraffic
Interesting.

POSTBOT

nastyking 03-26-2004 06:37 AM

phpadnews

or

Name the banner file banner.jpg and code that in every page.

When you want to change the banner rename the old file something else, and rename the new banner file, banner.jpg


:1orglaugh :1orglaugh

Rorschach 03-26-2004 06:41 AM

banner.jpg:

http://www.shiceland.com/gfy/hit-it1.jpg


All times are GMT -7. The time now is 05:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123