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 02-07-2006, 04:41 PM   #1
Anna_O
Confirmed User
 
Join Date: Oct 2002
Location: Sweden
Posts: 5,773
How to make hosted free sites with CCBill?

How do you guys make your hosted freesites so the aff id carries over from page to page with CCBill? We got help to set up the hosted galleries with a .htaccess thingy, but that one doesn't work with multiple pages...

Please thanks
Anna_O is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 04:50 PM   #2
After Shock Media
It's coming look busy
 
After Shock Media's Avatar
 
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
For the first part I would imagine they use something that passes the affiliate info through or you could just set them up the same way as hosted galleries using ccbills &html= crap.
I rather see a pass through of the number though to keep the page clean as well as to track stats correctly.


Code:
The affiliate links to the free site like this:

Gallery: http://www.yoursite.com/freesite/index.php?id=123456
link to:

http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=1111111-0000&PA=<?=$_GET["id"]?>

and <?=$_GET["id"]?> will be replaced with 123456...

All <?= ?> does is print a php variable, in this case you are printing the GET
variable specified in the url (?variable=value), so if you wanted to use
?aff=123456 you'd use <?=$_GET["aff"]?>

So when you edit the file it should look like:

Visit <a
href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=1111111-0000&PA=<?=$_GET["id"]?>">www.yoursite.com</a>
__________________

[email protected] ICQ:135982156 AIM: Aftershockmed1a MSN: [email protected]
After Shock Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 04:51 PM   #3
Anna_O
Confirmed User
 
Join Date: Oct 2002
Location: Sweden
Posts: 5,773
Gonna watch a Scrubs re-run on TV, will check this thread again in 30 minutes. Feel free to email webmaster [at] fetishbyanna.com or iseeeekjuuu 246797915

Tack på förhand alla snälla och trevliga människor här på Gå och knulla dig själv
Anna_O is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 04:52 PM   #4
Anna_O
Confirmed User
 
Join Date: Oct 2002
Location: Sweden
Posts: 5,773
Quote:
Originally Posted by After Shock Media
For the first part I would imagine they use something that passes the affiliate info through or you could just set them up the same way as hosted galleries using ccbills &html= crap.
I rather see a pass through of the number though to keep the page clean as well as to track stats correctly.
Gracias! Will check this right after Scrubs is done You rock!
Anna_O is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 05:33 PM   #5
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
http://www.fetishclubsites.com/footf...456/index.html

The way I did it for Cash Fetish.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 05:42 PM   #6
Anna_O
Confirmed User
 
Join Date: Oct 2002
Location: Sweden
Posts: 5,773
Quote:
Originally Posted by swedguy
You showed as N/A on ICQ otherwise I'd have asked you ;) And thanks again for helping us with the FHGs! You rock too

Was able to do it with After Shock Medias method, and although yours looks prettier, it's only 10 sites we have.
Anna_O is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 07:14 PM   #7
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Sorry, I'm always N/A ;)
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 07:18 PM   #8
BoyAlley
So Fucking Gay
 
Join Date: Nov 2004
Posts: 19,714
NEVER trust input into a php script like that.

Simply using <?=$_GET["id"]?> alone is NOT a safe way to do this!

You're setting yourself up to get the living hell hacked out of you.

The variable MUST have something in place to parse out the possible crap from the input before utilizing the variable.

Last edited by BoyAlley; 02-07-2006 at 07:20 PM..
BoyAlley is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 07:19 PM   #9
After Shock Media
It's coming look busy
 
After Shock Media's Avatar
 
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
Quote:
Originally Posted by BoyAlley
NEVER trust input into a php script like that.

Simply using <?=$_GET["id"]?> alone is NOT a safe way to do this!

You're setting yourself to get the living hell hacked out of you.

The variable MUST have something in place to parse out the crap from the input before echoing out a variable like that.
point taken, I am not a coder.
__________________

[email protected] ICQ:135982156 AIM: Aftershockmed1a MSN: [email protected]
After Shock Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 07:23 PM   #10
BoyAlley
So Fucking Gay
 
Join Date: Nov 2004
Posts: 19,714
Quote:
Originally Posted by After Shock Media
point taken, I am not a coder.
Haha sorry didn't mean to come across like I was biting your head off. I just wanted to grab everyone's attention and let them know that what was posted WOULD work fine, but WOULD also probably result in one hell of a mess down the road.

I know a LOT of people in this industry are using just <?=$_GET["id"]?> like that, and every last one could have the living hell h4x0r3d out of them because of it.
BoyAlley is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2006, 07:25 PM   #11
After Shock Media
It's coming look busy
 
After Shock Media's Avatar
 
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
Quote:
Originally Posted by BoyAlley
Haha sorry didn't mean to come across like I was biting your head off. I just wanted to grab everyone's attention and let them know that what was posted WOULD work fine, but WOULD also probably result in one hell of a mess down the road.

I know a LOT of people in this industry are using just <?=$_GET["id"]?> like that, and every last one could have the living hell h4x0r3d out of them because of it.
Thats cool, no offense taken. Anyways I had this mental picture of you in a high pitched voice snapping your fingers saying it (thank your own threads).

So care to share another safe way?
__________________

[email protected] ICQ:135982156 AIM: Aftershockmed1a MSN: [email protected]
After Shock Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2006, 03:18 AM   #12
Anna_O
Confirmed User
 
Join Date: Oct 2002
Location: Sweden
Posts: 5,773
So, what is a better way then? Please elaborate
Anna_O 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.