
Archived topic from Iceteks, old topic ID:1560, old post ID:22538
Code: Select all
<?php
// Report ALL, but not NOTICE
error_reporting ( E_ALL & ~E_NOTICE );
// You will still get WARNINGS and other real ERRORS
// Notice is not an error, just a note
// To not have to add it in all your pages you can make it a line in 'config.php' ,
// if you have such a file, that is included by php pages
?>[code]I use E_ALL = reporting with notices only when working with my code
When I am finished and put my code on website, I Turn Notice OFF, using that line.
I do not want to scare my visitors :lol:
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:1560, old post ID:27352[/size][/color]