Hide Php Error Messages - How To !?

 

Hide Php Error Messages - How To !?

How can I hide PHP error messages in browser?

in php.ini file (global settings for server):

display_errors = Off

Using the ini_set() function to set the value of this, you will have to do it every time you run the script though.

<?php
ini_set
(“display_errors, “off);
?>

Use : error_reporting() function:

<?php
error_reporting
(0);
?>


Post a Comment



Entertainment Directory of Entertainment Blogs Blog Directory Scouter for YouTube Widescreen, in format de 16/9 ; Facts and Myths about Power Supply - PC ; American Music Awards 2008 - The Winners Today.com Entertainment Blogs
TopOfBlogs blog search directory Add to Technorati Favorites Blogverzeichnis - Blog Verzeichnis bloggerei.de Entertainment blogs Bloggers and Blogging Blogs - BlogCatalog Blog Directory Entertainment Blogs - Blog Top Sites
Blog DigNow.org The House Of Blogs, directorio de blogs BlogESfera Directorio de Blogs Hispanos - Agrega tu Blog BlogRankers.com Blog Directory & Search engine directorio web blogarama - the blog directory
blog directory PodNova Listed in LS Blogs the Blog Directory and Blog Search Engine