disable all messages without editing php.ini

error_reporting(0);

I am still getting notices  (i do not want notices or errors or warnings or any message)

I do not wish to change php.ini

LVL 1
rgb192Asked:
Who is Participating?
 
Ray PaseurConnect With a Mentor Commented:
in the php script try adding this line:

ini_set("display_errors", FALSE);
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.