Re: PHP-arnings

From: Date: Wed, 31 Oct 2001 14:24:49 +0000
Subject: Re: PHP-arnings
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73019@lists.php.net to get a copy of this message
in php.ini look for ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; specially for error_reporting= and set it properly. ----- Original Message ----- From: "Harald Witt" <H.Witt@gmx.net> To: <php-general@lists.php.net> Sent: Wednesday, October 31, 2001 10:17 AM Subject: [PHP] PHP-arnings > Hi, > > I have a hopefully simple problem. Look at the following simple script: > > <?php > if ($x) { > echo $x; > } > ?> > > This script runs properly on my productive system (Linux, Apache, PHP > 4.0.3pl1). But on my Development-System (W2k Server, Apache 1.3.20, PHP 4.0.6) I > always get a Warning, that variable x in not definded. > Ok, thats true. But how can I suppress that Messages??? They destroy my > HTML-Code. I've searched in the PHP.INI file, but I can't find anything, that > looks like warning-suppression. > > Thanx for your help > > Harald > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#73019) next »