Subid's?

Discussion in 'PHP' started by goodysite, Aug 12, 2007.

  1. #1
    How would I add my site members ID tothe end of a Tracking link Automatically when they Click on an advertisement? Is there a Specific Code I need to add? I'm using a PHP Script with a Java Menu System. THX.:confused:
     
    goodysite, Aug 12, 2007 IP
  2. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, just add it in the banner code when you add the banners!!. Or did I misunderstand you? And by Java menu I hope you mean javascript, as

    Java is not Javascript.

    ~
    Thomas
     
    coderlinks, Aug 12, 2007 IP
  3. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #3
    The OP wants a different (dynamically generated) subID to attach to the url so that the member who clicked can be identified
     
    kentuckyslone, Aug 12, 2007 IP
  4. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, maybe you can point the url to a local file. Like maybe: out.php?id=01 . Then you have a database of some sort with URLs and ids.
    The file then fetches the url from the database according to the id given and append the userid or something at the end of it and redirects to it.

    ~
    Thomas
     
    coderlinks, Aug 12, 2007 IP
  5. goodysite

    goodysite Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5

    Yes JavaScript :) and basically my goal is to Attach a Members ID already in the dataBase to an Outgoing url with &subid= attached.

    Exp: "http://xxxx.xxxx.com/click.php?affiliate=111&campaign=644&creative=359&subid=MEMBERIDHERE"

    THX for the quick reply's BTW :)
     
    goodysite, Aug 12, 2007 IP
  6. goodysite

    goodysite Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Allright I came across this in a Different Script, How do I add this to My Site?

     
    goodysite, Aug 13, 2007 IP