Forum Moderators: coopster

Message Too Old, No Replies

Automatic AD placement on Client sites on a server

         

trap17

2:33 pm on Jan 1, 2005 (gmt 0)

10+ Year Member



I want to start a free web hosting company? How can I place my own ads
on my client sites automatically? I do not want them to insert any
code? The example of this system is : netfirms.com They put google ads
automatically on their client sites.

ergophobe

5:20 pm on Jan 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Since this is the PHP forum, how about a PHP solution....

You could use an auto_prepend_file and run all your users' files through PHP and voila!

Of course, if you want to let your users run PHP too, this might create some problems, since you would be sending output so they would not be able to send any header. If you turned on output buffering it should be okay though.

trap17

6:25 pm on Jan 1, 2005 (gmt 0)

10+ Year Member



I dont mind putting the banner at the bottom of the page. But the problem is I dont know the exact procedure. I got a server Cpanel and thats it.. I dont have much more things in hand. Can you please explain in detail..

Nutter

7:14 pm on Jan 1, 2005 (gmt 0)

10+ Year Member



You might ask over on the Apache forum. If memory serves, there is a config directive for this.