View Single Post
Old 03-04-2004, 12:59 PM  
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
JavaScr*pt to read file from external server...

I'm running an ad campaign with a couple different people right now, but the problem is I want to test out a couple different ads to see what works the best. If all of the sites were on the same server, I obviously could do a simple PHP include. But, since these servers belong to different companies, etc, the simple PHP include that I know wouldn't be able to work.

So basically I want to have a file on my server. This file will be basic text and I'll be able to change the ad/links whenever I please. I want to give a simple JavaScr*pt code to the people I'm advertising with so that they can paste it onto their page and be done with it. The code then calls the file on my server, prints it out, and bam we're done.

Anybody have code that does this or know of another easier way to go about doing this?
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price!
sly AT phatservers DOT com - 147479144
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote