Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-04-2004, 12:59 PM   #1
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
Old 03-04-2004, 01:33 PM   #2
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
See this example:
http://www.maturedesign.com/junk/client.html
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 01:37 PM   #3
gornyhuy
Chafed.
 
gornyhuy's Avatar
 
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
sly if you don't get any good solutions, hit me up tonight or tomorrow and I'll get it done for you.
__________________

icq:159548293
gornyhuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 01:40 PM   #4
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
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
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 02:25 PM   #5
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
sly, just install phpadsnew on your server
and give the remote invocation code to the final users
__________________
ICQ :333-548-380
jovigirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-05-2004, 08:32 PM   #6
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
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...
__________________
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
Old 03-05-2004, 08:47 PM   #7
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
Here's my attempt: http://stroke-jobs.com/campaign/
__________________
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
Old 03-05-2004, 09:00 PM   #8
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,393
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.
The Truth Hurts is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-05-2004, 09:22 PM   #9
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
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?
__________________
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
Old 03-05-2004, 09:24 PM   #10
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,393
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
The Truth Hurts is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2004, 12:17 AM   #11
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
have you thought about using an hahahahahaha? i hate using hahahahahahahahahaha so that would be my solution
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2004, 01:05 AM   #12
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
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 ?
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2004, 01:07 AM   #13
psyko514
See sig. Join Epic Cash.
 
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
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.
__________________

Bad Girl Bucks
- 50% Revshare through CCBill.
Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

Phoenix Forum Pics | Webmaster Access Montreal pics
email: psyko514(a)gmail.com | icq: 214-702-014
psyko514 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2004, 01:21 AM   #14
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
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
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.