Re: getting rid of form variable definition

From: Date: Mon, 03 Jul 2000 18:08:55 +0000
Subject: Re: getting rid of form variable definition
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-4544@lists.php.net to get a copy of this message
Robert V. Zwink writes: >I beleive this will always evalutate true. Try is isset() function instead: > > if (isset($reauthenticate)) { > authenticate(); > } > On the contrary, if ($reauthenticate) is true then isset($reauthenticate) has to be true. That's not the problem though. I just want to make the browser forget it ever encountered this variable so it doesn't send it back to the script. -Danny

« previous php.general (#4544) next »