Re: [PHP] Re: Checking to see what value error_reporting is set at?
In article <01ba01c1c7ca$bd95b1f0$0501a8c0@zaireweb>, [EMAIL PROTECTED] says... > I ment, if you re-set it, as im setting it to error_reporting(E_ALL); > depending on a value i get from a db query... > > -Eric > > - Original Message - > From: "David Robley" <[EMAIL PROTECTED]> > To: <> > Sent: Saturday, March 09, 2002 6:52 PM > Subject: [PHP] Re: Checking to see what value error_reporting is set at? > > > > In article <00b801c1c714$b4854230$0501a8c0@zaireweb>, > > [EMAIL PROTECTED] says... > > > Is it possible to return what error_reporting is set at currently? If > not, think they would be able to throw it into the newest build of php? > > > > > > Thanks, > > > Eric > > > > > > > Have a look at the ini_get function Well, the way I understand the manual entry, it returns the current value - mind you I haven't tried it. Looking through the manual, I also found get_cfg_var which might be worth a try. I would highly recommend you grab a copy of the manual - if you are on Windows the CFM version is readily searchable and has useful cross referencing links. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Checking to see what value error_reporting is set at?
I ment, if you re-set it, as im setting it to error_reporting(E_ALL); depending on a value i get from a db query... -Eric - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: <> Sent: Saturday, March 09, 2002 6:52 PM Subject: [PHP] Re: Checking to see what value error_reporting is set at? > In article <00b801c1c714$b4854230$0501a8c0@zaireweb>, > [EMAIL PROTECTED] says... > > Is it possible to return what error_reporting is set at currently? If not, think they would be able to throw it into the newest build of php? > > > > Thanks, > > Eric > > > > Have a look at the ini_get function > > -- > David Robley > Temporary Kiwi! > > Quod subigo farinam > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Checking to see what value error_reporting is set at?
In article <00b801c1c714$b4854230$0501a8c0@zaireweb>, [EMAIL PROTECTED] says... > Is it possible to return what error_reporting is set at currently? If not, think >they would be able to throw it into the newest build of php? > > Thanks, > Eric > Have a look at the ini_get function -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php