Refresh w/ Refferer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sleazylee
    Confirmed User
    • Dec 2002
    • 208

    #1

    Refresh w/ Refferer?

    Anyone know of a simple hahahahahahahahahaha, php, or html code that will allow me to refresh a page, but passes on the referral information along with it. Currently I am just using the Meta Refresh option but it doesn't track my referrers to the page i am sending to. Any help would be great.
  • buran
    Confirmed User
    • Mar 2002
    • 264

    #2
    if you're using HTML hahahahahaha refresh> tags, you'll have to invent some hahahahahahahahahaha-fu to tack the referring url on to new URL. If you're using PHP, something like:

    <?
    header("Location: http://www.site.com/?ref=".$_SERVER['HTTP_REFERER'].">";
    ?>

    Then make your script smart enough to use $ref for the referring, instead of referencing the $_SERVER superglobal.
    [this signature intentionally left blank]

    Comment

    • buran
      Confirmed User
      • Mar 2002
      • 264

      #3
      er, so "hahah" #1 should be the workd m.e.t.a, and "hahaha" #2 is the word j.ava.sc.ript

      b.
      [this signature intentionally left blank]

      Comment

      • Sleazylee
        Confirmed User
        • Dec 2002
        • 208

        #4
        Thanks for the help, i really don't know any php scripting or j.a.v.a. so not sure I will be able to do this (or really understand you) . So there is really no cut and paste coding that will do this for me?

        Comment

        Working...