> How do I turn off the error messages that appear at the top
> of the page? I have this function below that if an image is
> not there for $url, it give a "warning".
> $size = GetImageSize("$url");
> Example error message below...
> Warning: getimagesize: Unable to open 'http://www.yahoo.com'
> for reading. line 28
This should do it:
$size = @GetImageSize("$url");
The "@" symbol suppresses errors.
Chris
- [PHP] handling errors Joseph Bannon
- [PHP] Re: handling errors Geir Eivind Mork
- Re: [PHP] handling errors Boget, Chris
- Re: [PHP] handling errors * R&zE:
- Re: [PHP] handling errors Jason G.
- Re: [PHP] handling errors * R&zE:
- Re: [PHP] handling errors Jason G.
- Re: [PHP] handling errors Christian Reiniger
- Re: [PHP] handling errors * R&zE:
- Re: [PHP] handling errors Christian Reiniger
- Re: [PHP] handling errors * R&zE:

