1
I’m accessing a PHP application, I do it with ajax, but I want to have control of every error issued, that is, I do not want the php Return the error to me.
I tried to use
error_reporting(0);
ini_set(“display_errors”, 0 );
But I didn’t get any results. The error is being released on console of the application I use to access.
How do we do this?
In my code I removed all echos
, print_r
and others that gives some return of error.
How is configured to display errors in php.ini?
– rray
Which error appears in the browser console?
– rray
I could fix it, just change the displayy_errors = off
– Renan Rodrigues
What file are you putting the
error_reporting()
?– StillBuggin