Topic awaiting preservation: Saving $HTTP_REFERER in PHP |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-14-2002 05:31
I'm working on a page that I want to be included from many different pages. It will have next, prev, and home links on it. I want the home link to take it back to the original referring page, so I need to capture it in a variable. I don't see why what I'm trying to do won't work. code: if(!isset($orig_referer))
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-14-2002 08:13
Are those prev, next, home links actually buttons on that form? If they are plain links (<a href=""></a> ), orig_referer variable won't be passed, because you must submit that form somehow. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-14-2002 18:44
Thanks mr.maX |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-14-2002 19:20
you could, if you would add the parameters by hand as max said. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-14-2002 20:18 |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-14-2002 20:49
Thanks for the extra explanation guys! |