RE: [PHP-WIN] Warning Undefined Variable on Win - PHP 4.0.6 via A pache
| From: | Martin Lindhe | Date: | Wed, 12 Sep 2001 12:51:33 +0000 |
| Subject: | RE: [PHP-WIN] Warning Undefined Variable on Win - PHP 4.0.6 via A pache | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9331@lists.php.net to get a copy of this message | ||
> I keep getting a Undefined variable on unused form elements
> after they have
> been posted.
>
> For instance i have a form
>
> Form Element Chem_id ( drop down)
> Form Element freetxt ( text box)
>
how do you access the variables?
something like $Chem_id = $HTTP_POST_VARS["Chem_id"];
or do you use $Chem_id right away?
Are you running php in safe mode?
Call phpinfo(); to find out, search for safe_mode under
PHP Core.
/Martin