Re: Re: url without a query string?

From: Date: Mon, 09 Jul 2001 06:15:30 +0000
Subject: Re: Re: url without a query string?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-56886@lists.php.net to get a copy of this message
IE 5.5 keeps the referer of the original page you clicked. I ran a quick test, but my computer is a weird setup, so it may not be the case with other setups. ----- Original Message ----- From: "Inércia Sensorial" <inerte@hotmail.com> To: <php-general@lists.php.net> Sent: Monday, July 09, 2001 4:15 PM Subject: [PHP] Re: url without a query string? I am not sure if the header(); function still maintain the referer, but if it does: You could make the first link lead to any named page, like: gate.php On gate.php you put: header("Location: index.php"); On index.php you put: if ($HTTP_REFERER == 'http://www.your_domain.com/gate.php') { header ("Location: http://www.where_users_really_will_go.com") } Maybe a few protections on gate.php so users don't call it directly are nice too... -- Julio Nobrega. Yes, I am developing another 'Portal-System' Have a look: http://sourceforge.net/projects/toca "Jon Yaggie" <dmsales@design-monster.com> wrote in message news:02e801c1082e$c48e6a30$0100a8c0@piiimonster... the problem i have a page that uses a query string to determine content. ie index.php?id=2 in this page there is a link to a memebership area that uses a remote service. this service requires that thee be the exact same refering url. is the refering url must always be index.php. how can i do this? can i do this? Thank You, Jon Yaggie www.design-monster.com And they were singing . . . '100 little bugs in the code 100 bugs in the code fix one bug, compile it again 101 little bugs in the code 101 little bugs in the code . . .' And it continued until they reached 0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#56886) next »