Simple ? For me

Rancor13

Chuuurrrp
Feb 27, 2008
496
10
0
I'm running my offers through a domain, then using a php redirect.

For instance, if I'm making ads and making the url something like

www.myaffiliateshitsite.com/?sub=shitsite

Then how would I get my php redirect file to pull that sub id?

EX:

<?php
header("Location: http://www.xxxxxxxxxxcom/redirect.php?CID=xxxxxx&AFID=xxxxxx&ADID=xxxxx&SID=THIS IS WHERE SHITSITE should be pulled".stripslashes($_GET['sub']));
?>


Is there some sort of command I must add in url? I know it's a simple question, but I've never actually had to get my own hands dirty, and felt it was time to learn this stuff..

Thanks in advance for the help.