View Single Post
Old 2005-02-03, 06:45 PM   #3
swedguy
Vagabond
 
swedguy's Avatar
 
Join Date: Aug 2003
Posts: 2,374
Send a message via ICQ to swedguy
I assume you're thinking of calling all ads like this:
<a href=""><img src="http://bannerdomain.com/banner.jpg"></a>

I did that at one point. It worked great.... until I fucked something up on that domain and didn't catch it right away. All ads on a lot of pages were broken for a while. After that I realized I needed something that didn't depend on a domain.
1 source OK, but not 1 domain.

I have all my banners stored in 1 folder, lets call it /home/user/domain.com/banners
On all my other domains I have a /banners folder that is symlinked to that main folder. On domain.com I have a banner manager that takes care of all the banners. But none are served from that domain, all banner "calls" looks like this:

<a href=""><img src="/banners/sponsor/banner.jpg"></a>

I believe you can do that in phpadsnew.

Since there's a /banners folder on every domain nothing will ever be broken, unless you delete the main banner folder

Last edited by swedguy; 2005-02-03 at 06:47 PM..
swedguy is offline   Reply With Quote