Hide Warnings and Notices in PHP


/ Published in: PHP
Save to your folder(s)

Hide Warnings and Notices in PHP


Copy this code and paste it in your HTML
  1. In file php.ini
  2.  
  3. error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.