Re: Windows PHP vs Linux PHP

From: Date: Wed, 15 Jan 2003 19:45:02 +0000
Subject: Re: Windows PHP vs Linux PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131740@lists.php.net to get a copy of this message
>> Set your php.ini file and error reporting as such: >> >> error_reporting = E_ALL & ~E_NOTICE >Or initialize your variables before using them ... especially true if >register_globals is on. Yeah, that's the best recommendation. Especially if you plan on distributing your code for others to use, where you have no idea of the error setting on their machines. Sure, you can set it with error_reporting() in your script, but maybe they don't want it changed, regardless if it's just for your script. ---John Holmes..

« previous php.general (#131740) next »