I want to turn off error messages for getimagesize and unlink functions. Anyone know how to do it?
| SitePoint Sponsor |
I want to turn off error messages for getimagesize and unlink functions. Anyone know how to do it?





just do this.Originally Posted by atbagsend
$size = @getimagesize ("img/flag.jpg" );
or you can set your own custom error handling (http://www.php.net/manual/en/ref.errorfunc.php | http://www.php.net/manual/en/functio...or-handler.php)
Bookmarks