Forum Moderators: coopster

Message Too Old, No Replies

Try.Catch and E ALL

         

SarK0Y

2:53 am on Nov 23, 2008 (gmt 0)

10+ Year Member



Good Time for All, Amigos!
php.ini has setting E_ALL and script returns any warning, even if it's non-fatal err. i tried to prevent via block 'try...catch' but dosn't work:( suggest me any solution without fixing php settings.
-------------------------------------------------------
Thanks in Advance.

SarK0Y

1:44 pm on Nov 23, 2008 (gmt 0)

10+ Year Member



i find solution for my current trouble, but i wonder! - sense of this block is null. have anybody ever idea about?

Anyango

5:16 pm on Nov 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try using the error_reporting() function in your script

error_reporting [php.net]

SarK0Y

6:50 pm on Nov 23, 2008 (gmt 0)

10+ Year Member



Hi, Anyango.
Great Thanks to you, Amigo!