|
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.
|