Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Michael Satterwhite
January 25, 2005, 9:55 pm
rate this thread
(running Debian) and a production server I use (running Slackware). On my
development server, no error is produced in the following statement if $a
hasn't been initialized:
$b = $a;
$a simply returns a null string. On the production server, this is an
undefined variable error. Likewise the following
$a = $_POST['someVar'];
Gets no error on development, but does on production if $_POST['someVar'] is
What configuration parameters control this?
The error_reporting directive:
It is often recommended that you do the opposite of what you have
right now -- set high level of error reporting on the development
server and low one on the production server and not move into
production environment until errors stop popping up...