RE: [PHP] Re: 4.0.2 => 4.2.3, form vars are empty?
| From: | Jesse Cablek | Date: | Fri, 27 Sep 2002 14:56:13 +0000 |
| Subject: | RE: [PHP] Re: 4.0.2 => 4.2.3, form vars are empty? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117854@lists.php.net to get a copy of this message | ||
Erwin <mailto:erwin@isiz.com> scribbled;
>
> Qmail List wrote:
>> Hello List,
>>
>> I'm putting a php app that has been off-line for about 18 months back
>> on-line. During my absence from php I had heard about some security
>> issues, so figured I'd try the latest 4.2.3 release.
>>
>> Sessions and the DB are fine, but GET/POST vars are continually
>> empty. I mean a form submission from .html to .php (about the
>> simplest thing possible) the variables are not getting populated with
>> their form values.
>
> Turn register_globals = On in the php.ini file...
>
> HTH
> Erwin
Or better yet, actually use the new $_GET[] and $_POST[] and leave that
option off.
-jesse