View Single Post
Old 10-18-2004, 08:09 PM  
Donny
As you wish...
 
Industry Role:
Join Date: May 2002
Posts: 13,754
Quote:
Originally posted by rowan
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/clic...25576-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.

There you go. VERY easy. And as he said, save pages as .php instead of .htm or .html
Donny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote