![]() Topic awaiting preservation: Saving $HTTP_REFERER in PHP (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: New Jersey, USA |
![]() 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 |
![]() 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 |
![]() Thanks mr.maX |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() you could, if you would add the parameters by hand as max said. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() Thanks for the extra explanation guys! |