Re: [PHP] Using HTTP Referer

2002-09-11 Thread Henrik Hudson
Since you're checking to see if people are logged in and then sending them to the login page if they're not...I would pass, via GET, the page they are on when they were checked for being logged in and then the script on your login page would take that GET and embed it into the POST form. When t

RE: [PHP] Using HTTP Referer

2002-09-11 Thread Craig Vincent
The problem I'm having right now is that after the user is logged in, the login.php can never send it back to the page the user came from, it will just redraw the login.php page. Obviously, $_SERVER['HTTP_REFERER'] contains the location of itself instead of the location of the page sent the user

RE: [PHP] Using HTTP Referer

2002-09-11 Thread Martin Towell
e- From: Jiaqing Wang [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 5:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Using HTTP Referer Hello, All, I'm currently working on a problem which is in need of HTTP referer or the similar technique, but I couldn't seem to find any ar

[PHP] Using HTTP Referer

2002-09-11 Thread Jiaqing Wang
Hello, All, I'm currently working on a problem which is in need of HTTP referer or the similar technique, but I couldn't seem to find any article or links which illustrate the idea, I tried $_SERVER['HTTP_REFERER'] but somehow it didn't work for me. Let me breifly explain what I did here: I have