Re: redirect location

From: Date: Thu, 17 Aug 2000 13:49:52 +0000
Subject: Re: redirect location
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12226@lists.php.net to get a copy of this message
Bartosz Aninowski wrote: > > Is there any possibilities to redirect users to another site. > Yes I can use location but I want to redirect after fg providing a password. > So code check if password is ok and then redirect user to diffrent adress > > Bartosz > > -- > 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 Hello, you can use $referer = getenv("HTTP_REFERER"); to get the referer off this page (the URL from where he comes), and if it doesn't match the your login-page then do some error-handling like throw him back to where he comes ;-) cu Martin -- -------------- Martin Neimeier Tel:+49(6262)912344 Fax:+49(6262)912347

« previous php.general (#12226) next »