Cpa coding

Discussion in 'PHP' started by Yonder, Aug 25, 2011.

  1. #1
    Hopefully this is the right section, it is related to cpa but the coding i am asking about is PHP.

    So I have cpa lead on my site the code to make sure a the correct user is credited the correct amount is like:

    http://www.cpalead.com/mygateway.php?pub=*****&subid=$user

    I have pointclick track too:

    http://partners.pointclicktrack.com/gateway/content/pid/****/gid/****/

    So I want to pass the username to the pointclicktrack so it can send a postback with the username which i can then give the correct user points.

    Would be correct:

    http://partners.pointclicktrack.com/gateway/content/pid/****/gid/****/sid2/$user

    Anybody had any experience with this? At the moment pointclicktrack sid2 is users IP and it is posting back the IP and i have to compare the IP to table, which is fine but would be better with username posting.

    Thank you in advance.
     
    Yonder, Aug 25, 2011 IP