View Single Post
Old 05-21-2009, 12:04 AM  
NinjaSteve
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2003
Posts: 11,089
Quote:
Originally Posted by Killswitch View Post
Or a better way, for programs anyway is to put this at the top of the source for the gallery:

PHP Code:
<php
$ccbill 
= (empty($_GET['ccbill'])) ? 'YOUR-CCBILL-ID-NOT-AFFILIATE' $_GET['ccbill'];
?> 
Then on all links just put <?php echo $ccbill; ?> in place of the areas, and when a user hits the site via page.php?ccbill=2353 then 2353 gets credit, if the ccbill isn't set, it defaults to your sponsor id.
Why is this better than the first way?
__________________
...
NinjaSteve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote