Anyone Good With PHP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Agnosticism
    Confirmed User
    • Dec 2004
    • 100

    #1

    Anyone Good With PHP?

    Here's the code...
    $DEFAULT_EXIT_PAGE = "$HTTP_REFERER/hey.html";
    When I try to use the code it adds an extra blackslash "/" so when it referrs back to the code it looks something like http://www.aol.com//hey.html which makes the url invalid.

    I have tried
    $DEFAULT_EXIT_PAGE = "$HTTP_REFERER hey.html";
    When this code is implemented it creates http://www.aol.com/%20hey.html
    And when I implement
    $DEFAULT_EXIT_PAGE = "$HTTP_REFERER hey.html";
    Syntax is incorrect and doesn't even properly proces the php file.

    So I was wondering how to make it so it simply referrs http://www.aol.com/hey.html
  • azguy
    Confirmed User
    • Nov 2004
    • 5167

    #2
    use {$HTTP_REFERER}

    (I'd use $_SERVER[''], but you can go with this)

    Comment

    • Sams_gfy
      Confirmed User
      • Aug 2004
      • 491

      #3
      $DEFAULT_EXIT_PAGE = $HTTP_REFERER."hey.html";

      Work with PPC SE ( Umax, 3FN Marketing) and GET PAID FOR EVERY CLICK !!!
      Next step after PPC - Pay Per Lead/Action
      Good, filtered traffic: Chocker, Traffic Holder || My favourite hosting: HQ Host

      Comment

      Working...