|
|
|
|
|
|
|
![]() |
#1 |
Are you sure this is the Sci-Fi Convention? It's full of nerds!
|
i would suggest phpadsnew
![]() |
![]() |
![]() |
![]() |
#2 | |
Certified Nice Person
|
Quote:
![]() But if you are looking for something simple that doesn't require databases, you can employ a tiny script that I found here at GG&Jim's. Place this PHP statement on your page where you want your adverstising to appear: <?php $file = "bannerlist.txt"; $banners = file($file); srand((float) microtime() * 1235689); $selected = array_rand($banners); $SelBanner = trim($banners[$selected]); if ($SelBanner=="") { $SelBanner = trim($banners[0]); }; echo $SelBanner; ?> You'll notice that it pulls it's info from a file called bannerlist.txt. So make a text document with that name and upload it to the same directory as the page with the PHP code above. Put each separate banner, text link, or whatever on its own line. It can pull in entire tables, just make sure you get rid of any carriage returns so that the entire table is on one line on bannerlist.txt. Each banner or link will appear randomly with each page refresh. Here's a page that uses that code to control the banners before the listings: http://www.filthyearl.com/hot-babes/ This is the bannerlist.txt for that page: http://www.filthyearl.com/hot-babes/bannerlist.txt And to answer your question about where to store banners, be creative in naming your banner directory or place them any image folder. You really shouldn't use the term 'banner' in your exposed page code. A lot of surfers are using ad blocking software that will block any image or link with that term.
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#3 | |
Whatever don't kill ya makes ya stronger...
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Certified Nice Person
|
That won't work on a shtml page.
![]()
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#5 |
Whatever don't kill ya makes ya stronger...
|
Well, Iit took me hours but I figured it out for shtml..I am a script idiot but I did it!!
make a php page with the script. make a text file called bannerlist,txt or you can change it then include it on your shtml with <!--#include virtual="ban.php"--> ban.php being the name you give the file test page is here kewlies.. |
![]() |
![]() |
![]() |
#6 |
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
Join Date: Mar 2005
Posts: 24
|
Hey all, just a simple question going back to phpadsnew. When setting up an advertiser & Campaign, what do you put for the basic information? Im reading through the manual and it states that it is used to send information to the contact. Trust me I know this may be a dumb question but it doesnt hurt to know the right answer. my guess is using your own email address and stuff.
|
![]() |
![]() |
![]() |
|
|