How to disable scripting warnings and notices through .htaccess
Introduction: If your website is running well but still displaying unwanted warnings and notices, such as Warning: fsockopen(), you can easily hide them by making a small change to your .htaccess file. This is especially useful in a live production environment to avoid cluttering your website with error messages that could confuse visitors. Prerequisites: