View Single Post
Old 10-18-2004, 07:59 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
It's piss easy. Don't let anyone charge you $50 for a "custom" script.

Just put this where the refid should go:

<?php echo (0 + $_GET["id"]); ?>

for example,

http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=925576-0000&PA=<?php echo (0 + $_GET["id"]); ?>&HTML=....


Make sure your galleries are named something.php (.php extension) and then pass the ID like this:

something.php?id=12345

Simple as that.

Note: this only works for numeric IDs. The "0 + ..." bit ensures that no one can do any shifty tricks like stuffing HTML into the id variable.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote