I’m using register_shutdown() to provide show a page if upload takes a long time causing a PHP timeout. I really don’t need to show the fatal error to the user, how can hide that message?
I’m using register_shutdown() to provide show a page if upload takes a long time
Share
You would want to set the
display_errorsdirective in yourphp.inito off on your production machine. Alternatively if your script doesn’t have any fatal errors beyond the timeout issue you may useini_setto turn off displaying errors at runtime.