In article <402B768A.1070902@xxxxxxxxxxxxxx>, raylcons@xxxxxxxxxxxxxx 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? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php