Re: Help needed after upgrading to PHP4
| From: | Matt | Date: | Mon, 05 Aug 2002 15:04:12 +0000 |
| Subject: | Re: Help needed after upgrading to PHP4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111213@lists.php.net to get a copy of this message | ||
From: "Tony Burgess" <tony@actual-systems.com>
Sent: Monday, August 05, 2002 9:01 AM
Subject: [PHP] Help needed after upgrading to PHP4
> After upgrading from PHP3 I now get the following information displayed
> Warning: mysql_query(): supplied argument is not a valid MySQL-Link
resource
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource
PHP 4 out of the box has register_globals off now. Find the php.ini, and
change register_globals to on. If that fixes it, then you ought to change
the scripts so they don't need register_globals on.
You can read about why register_globals is now default off under Security
at: http://www.php.net/release_4_1_0.php