Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
There's obviously a configuration difference between my development server
(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?


Re: Configuration

Michael Satterwhite wrote:
Quoted text here. Click to load it
On my
if $a
Quoted text here. Click to load it
Quoted text here. Click to load it

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...


Site Timeline