Advertisement on Multiple Websites

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ehsen
Forum Newbie
Posts: 3
Joined: Wed Nov 17, 2004 1:24 pm
Location: Pakistan
Contact:

Advertisement on Multiple Websites

Post by ehsen »

I have reseller account, currently i hold 34 websites all sites shared the same IP address. Now the problem is i want to show sposor's ads on all my users websites in geocities style (floating DHTML banner). could you please tell me how can i do this with PHP or perl. I have already PHPadsnew but it didn't solve my problem. :roll:
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You either tell the users to use the code you give them to show the banner or insert it yourself by hi-jacking the connection to the accounts - i.e. have virtual hosts that point first to a directory that inserts the adverts and then grabs the real page to be shown and adds everything together.
ehsen
Forum Newbie
Posts: 3
Joined: Wed Nov 17, 2004 1:24 pm
Location: Pakistan
Contact:

Post by ehsen »

Hijacking the connection to the accounts is good one. Is there any open source php or cgi script which help me to do this.
Post Reply