Re: issue with undefined variables with PHP 4.06

From: Date: Wed, 22 Aug 2001 12:14:11 +0000
Subject: Re: issue with undefined variables with PHP 4.06
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8993@lists.php.net to get a copy of this message
hi, > I have just reinstalled my win2k system and installed the latest version of > PHP (4.06), now when I run a lot of my old scripts I get errors like the one > below, when I access the page before posting any data to it. The example > below is taken straight from a tutorial site. I'm not sure if this is a > change in PHP since 4.01 which I had been using or what ? > > Can anyone help please ?! > > Thanks > > Phil > > Warning: Undefined variable: name in u:\inetpub\wwwroot\php\form5.php on > line 7 That's just a warning not an error mesage. Change the error_reporting in the php.ini to E_ALL (I think it is) or put error_reporting(7) on top of the scripts. cheers johannes

« previous php.windows (#8993) next »