ini_set question

From: Date: Thu, 20 Feb 2003 04:18:58 +0000
Subject: ini_set question
Groups: php.general 
Request: Send a blank email to php-general+get-136307@lists.php.net to get a copy of this message
ini_set doesn't seem to work for me. I am trying with: ini_set("display_errors","Off"); The manual says this one should be able to be set this way. I have tried it with all combinations of " and " and with Off or 0. It doesn't give an error, but it has no effect either. I can set it to off in php.ini and it works. But not this way. I know there is another function that does this. I'm not concerned with this particular setting; I'm wanting to learn how to use ini_set in general. I am using this particular setting to change because the manual says ini_set can change this and because this one has an effect that it is easy for me to see. I have a statement that throws a notice. The notice should not appear if this setting was actually changed to off. Am I not understanding how this is supposed to work? Or is there some other setting that needs to change to make ini_set work? Any suggestions? TIA Janet

« previous php.general (#136307) next »