Re: PHP command not function after upgrade to 4.22
| From: | David Robley | Date: | Fri, 13 Feb 2004 00:36:29 +0000 |
| Subject: | Re: PHP command not function after upgrade to 4.22 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32923@lists.php.net to get a copy of this message | ||
In article <402B768A.1070902@netvigator.com>, raylcons@netvigator.com
says...
> Hi,
>
> I've upgrade the PHP 4.06 to PHP4 .2.2 in Redhat 9.0. after that, it
> was found the following script can't work well. the "empty" seems not
> function. Any one can help!
>
> ....
> ...
> If (empty ($A)
> .....
> else
> ...
>
> Best regards,
> Raymond
>
Check the value of register_globals in php.ini or phpinfo(). If it is set
to Off and $A is passed from another page, you'll need to use $_POST or
$_GET to retrieve the passed value.
--
Quod subigo farinam
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?