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
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 11-28-2004, 10:42 PM   #1
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
Any PHP Gurus Up Tonight?

I'm trying to hook up some galleries so I can have them hosted for affiliates. I need it so that an affiliate can plug in his CCBill number at the end of a url, which will then carry over to the gallery page.

Something like this...
Example:
http://www.someurlhere.com/hosted/1/index.php?ref=12345

Can anyone help by pointing me in the right direction?

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:43 PM   #2
Intrigue
Confirmed User
 
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
hit me up, i have something you might like.

edit, whoops: 297994306

Last edited by Intrigue; 11-28-2004 at 10:45 PM..
Intrigue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:44 PM   #3
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
<?echo $_REQUEST["ref"];?>
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:46 PM   #4
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by Repetitive Monkey
<?echo $_REQUEST["ref"];?>
Close.. Try this.

Call the gallery as such:

http://domain.com/hosted/gallery1.php?ref=810391


Then in the gallery put:

<?PHP ECHO('<A HREF="http://www.sponsor.com/join.php?myid=' .$ref . '">Click here to sign up now!</A>'); ?>
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:47 PM   #5
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by Repetitive Monkey
<?echo $_REQUEST["ref"];?>
I always run into spacing problems when I don't include the full HREF code in the PHP echo function.
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:49 PM   #6
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by Dynamix
I always run into spacing problems when I don't include the full HREF code in the PHP echo function.
What the hell are you on about? Mine is correct.

Use it like so:

<a href="http://www.isohorny.com/blabla/somethingelse.php?ref=<?echo $_REQUEST["ref"];?>">
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:51 PM   #7
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by Repetitive Monkey
What the hell are you on about? Mine is correct.

Use it like so:

<a href="http://www.isohorny.com/blabla/somethingelse.php?ref=<?echo $_REQUEST["ref"];?>">
I never said that was incorrect, just that I always end up having spacing issues, ie.

<a href="http://www.isohorny.com/blabla/somethingelse.php?ref=
0134234234">
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 10:52 PM   #8
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by Dynamix
I never said that was incorrect, just that I always end up having spacing issues, ie.

<a href="http://www.isohorny.com/blabla/somethingelse.php?ref=
0134234234">
Ah. Some editors do that. Use Notepad.

Last edited by Repetitive Monkey; 11-28-2004 at 10:54 PM..
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:05 PM   #9
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
Repetive Monkey... your code works and I greatly appreciate it.

However, I'm having an issue and I can't figure out the problem. When I try to plug in the url (with my code) into my tgp script, I get errors saying it either timed out or that it could not resolve hostname.

But it works via http browsing.

Am I missing a step somewhere?

- PornAddict

ps - thanks again to everyone who chimed in.
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:08 PM   #10
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by PornAddict
Repetive Monkey... your code works and I greatly appreciate it.

However, I'm having an issue and I can't figure out the problem. When I try to plug in the url (with my code) into my tgp script, I get errors saying it either timed out or that it could not resolve hostname.

But it works via http browsing.

Am I missing a step somewhere?

- PornAddict

ps - thanks again to everyone who chimed in.
Your TGP script does not accept gallery URLs with variables tacked on to them? Strange. Doublecheck the format of your URL though.

http://www.domain.com/path/page.php?ref=you
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:11 PM   #11
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
The script I do does allow variables... because I use them from other sponsors.

A sample gallery of mine is:
http://hosted.247pass.com/cumhogs/001gp/?ref=12345

Your code worked and "12345" is tacked onto the CCBill code.

However, when I try to add that to my tgprotate script, I get errors saying it either timed out or couldn't resolve hostname... yet it loads up fine via browser.

Weird!

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:13 PM   #12
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
You need to properly encode your URL before you try to run in through your trade script...

%26 (amongst others) will soon become your friend.
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:16 PM   #13
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by broke
You need to properly encode your URL before you try to run in through your trade script...

%26 (amongst others) will soon become your friend.
In that case, it's a shitty TGP script for not automatically urlencoding admin panel URL additions.

PD: URLEncode your link here: http://www.albionresearch.com/misc/urlencode.php
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:16 PM   #14
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
Here's what confuses me more...

Take this link, from Exploited Black Teens

http://www.fvotd.com/ads/41la/index.php?rid=437200

If I run that through my tgp script, it works perfectly and I can select to make a thumb...

YET... if I take my page and try to run it through, I get an error.

Both scripts should be doing the same thing, but I'm missing something somewhere. Is it a server issue?

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:19 PM   #15
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Does this run through your trade script?

http://hosted.247pass.com/cumhogs/001gp/%3Dref=12345
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:23 PM   #16
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by broke
Does this run through your trade script?

http://hosted.247pass.com/cumhogs/001gp/%3Dref=12345
That's not correct. %3D is =.
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:24 PM   #17
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
I found the problem... even though I'm not exactly sure what it was.

I have two dedicated servers at two different spots. The one that I was testing it on wasn't working. I took the html and uploaded it to my other server (on WebAir) and it worked perfectly. So, all this time it must be a server issue. I'm not sure exactly why it works on one and not the other, but that's the case.

Anyway... thanks to everyone who lend a helping hand. If there's anything I can do (probably not tech based though), hit me up!

Thanks everyone!

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2004, 11:27 PM   #18
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Sorry monkey... I meant %3F.

Nice catch.





Does this one work?

http://hosted.247pass.com/cumhogs/001gp/%3Fref=12345
__________________
Perfect Gonzo
broke 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



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.