View Single Post
Old 01-13-2011, 04:48 PM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Code:
<?php
if(isset($_GET['aid'])) { $affiliateid =  $_GET['aid']; }
?>
That way, if you hit your FHG with ?aid=123456 in the url, the php variable $affiliateid will be 123456 (or whatever that number is).

Then in your FHG page, where the join/enter/whatever links are. Link to them using
Code:
<a href="http://yoursystemurlhere.com?affiliatenumber=<?php print $affiliateid; ?>" title="">join now!</a>
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote