Re: getting rid of form variable definition
| From: | Jordan S. Jones | Date: | Mon, 03 Jul 2000 18:23:03 +0000 |
| Subject: | Re: getting rid of form variable definition | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4545@lists.php.net to get a copy of this message | ||
Take a look at the unset call.
http://www.php.net/manual/function.unset.php
Jordan
"Danny Rice" <dwrice@indiana.edu> wrote in message
news:14688.52600.729977.986513@siren.bio.indiana.edu...
>
> What I am trying to do is send a varaiable, say "reauthenticate", from
> a form to change the username and password. So I'm trying something
> like
>
> if ($reauthenticate) {
> authenticate();
> }
>
> The authenticate function exits and the script is recalled, but the
> variable $reauthenticate is still set so I can't get past this point.
> I guess the browser is sending back this variable each time. So how
> do you clear this variable?
>
> -Danny
>
> --
> 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
>