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)
-   -   How to make hosted free sites with CCBill? (https://gfy.com/showthread.php?t=573326)

Anna_O 02-07-2006 04:41 PM

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 :helpme thanks :)

After Shock Media 02-07-2006 04:50 PM

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>


Anna_O 02-07-2006 04:51 PM

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 02-07-2006 04:52 PM

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! :)

swedguy 02-07-2006 05:33 PM

http://www.fetishclubsites.com/footf...456/index.html

The way I did it for Cash Fetish.

Anna_O 02-07-2006 05:42 PM

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.

swedguy 02-07-2006 07:14 PM

Sorry, I'm always N/A ;)

BoyAlley 02-07-2006 07:18 PM

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.

After Shock Media 02-07-2006 07:19 PM

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.

BoyAlley 02-07-2006 07:23 PM

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.

After Shock Media 02-07-2006 07:25 PM

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?

Anna_O 02-08-2006 03:18 AM

So, what is a better way then? Please elaborate :)


All times are GMT -7. The time now is 10:19 PM.

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