Re: Re: PHP 4.2.1 And WinXP
| From: | Steve Yates | Date: | Tue, 11 Jun 2002 04:31:39 +0000 |
| Subject: | Re: Re: PHP 4.2.1 And WinXP | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14172@lists.php.net to get a copy of this message | ||
"Fester" <gmane@ladsplace.net> wrote in message
news:ae3dft$39s$1@main.gmane.org...
> Thank you very much. I see that I must access variables using
$_POST['var']
> syntax. I'm disappointed that variable access appears not to be backward
> compatible to earlier versions fo PHP, but such is life.
However it's more secure in terms of users spoofing your variables. As
a tip, you can also use extract($_POST) to automatically create all the POST
variables, just like before. Add this to the beginning of "old" code to get
it to work while you fix all the individual references.
- Steve Yates
- Life's unfair...but the root password helps!
/ Taglines by Taglinator - www.srtware.com /