Warning: Undefined variable

From: Date: Tue, 02 Apr 2002 02:21:29 +0000
Subject: Warning: Undefined variable
Groups: php.general 
Request: Send a blank email to php-general+get-91059@lists.php.net to get a copy of this message
Hi, As i know we don't need to define a variable before in PHP. But i have a very strange case. In my server, i hosted a PHP website. When i update the server from PHP3 to PHP4, problems came out. Most of the php pages didn't work and display many warnings like that : "Warning: Undefined variable: variable_name". In fact, nobody has changed the code and all of the pages are working property in PHP3 server. So, does anyone know what happen? I also contact the hosting company, but they said that everything is working fine and they don't know what problem is it. Thats why i have no idea how to correct it. Thanks. Kenny

« previous php.general (#91059) next »