GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   JavaScr*pt to read file from external server... (https://gfy.com/showthread.php?t=247237)

Sly_RJ 03-04-2004 12:59 PM

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?

just a punk 03-04-2004 01:33 PM

See this example:
http://www.maturedesign.com/junk/client.html

gornyhuy 03-04-2004 01:37 PM

sly if you don't get any good solutions, hit me up tonight or tomorrow and I'll get it done for you.

just a punk 03-04-2004 01:40 PM

Forgot to make a note... You may put "yourscript.js" wherever you want (say www.yourdomain.com/yourscript.js). Just don't forget to change its URL in client.html. That's it. Hit me on ICQ (166924423) if you need any further comments :winkwink:

jovigirl 03-04-2004 02:25 PM

sly, just install phpadsnew on your server
and give the remote invocation code to the final users

Sly_RJ 03-05-2004 08:32 PM

Quote:

Originally posted by cyberxxx
See this example:
http://www.maturedesign.com/junk/client.html

I can't get this working. I switched it to a txt file instead of js and still nothing. Would really like to get this working tonight, it's pretty important...

Sly_RJ 03-05-2004 08:47 PM

Here's my attempt: http://stroke-jobs.com/campaign/

The Truth Hurts 03-05-2004 09:00 PM

Quote:

Originally posted by Sly_RJ
Here's my attempt: http://stroke-jobs.com/campaign/
in yours, you're trying to execute a non-existant function.

Sly_RJ 03-05-2004 09:22 PM

Quote:

Originally posted by The Truth Hurts


in yours, you're trying to execute a non-existant function.

I thought so! All I did was copy the page. Does anyone have a function written to do this?

The Truth Hurts 03-05-2004 09:24 PM

Quote:

Originally posted by Sly_RJ

I thought so! All I did was copy the page. Does anyone have a function written to do this?


http://www.sexbytes.net/test.html

like that?

icq me, i'll help you out.

617 1320

Ash@phpFX 03-06-2004 12:17 AM

have you thought about using an hahahahahaha? i hate using hahahahahahahahahaha so that would be my solution

rowan 03-06-2004 01:05 AM

Quote:

Originally posted by asher
have you thought about using an hahahahahaha? i hate using hahahahahahahahahaha so that would be my solution
My guess...

if<b></b>rame and jav<b></b>asc<b></b>ript ?

psyko514 03-06-2004 01:07 AM

Quote:

Originally posted by rowan


My guess...

if<b></b>rame and jav<b></b>asc<b></b>ript ?


yep. an ifr<i></i>ame would be pretty easy to use.

Ash@phpFX 03-06-2004 01:21 AM

Quote:

Originally posted by rowan


My guess...

if<b></b>rame and jav<b></b>asc<b></b>ript ?

yes, didnt even think about the damn filters


All times are GMT -7. The time now is 06:58 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123