Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter drazek

    (@drazek)

    anyone?

    https://www.mydomain.com/?firstname=JOE&lastname=DOE

    <?PHP
    $firstName = $_GET[‘firstname’];
    $lastName = $_GET[‘lastname’];
    ?>

    Hey drazek, did you ever find a good solution to this, or was the PHP KristoferN provided good enough? I am needing to do the same basic thing upon the visitor hitting the page, but need to do a lookup of the persons first and last name before printing it.

    For others just reading this, the example is that if we have 10 pages on the site and a visitor links in by the affiliate ID (ex: /page-10/?ref=121 ), we need to look up that referrer and print the name on the page… as well as leave the referring ID at the end of the url string when they browse the 10 pages prior to buying.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘display url variables’ is closed to new replies.