Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] handling errors From: Christian Reiniger (creinig <email protected>)
Date: 09/27/01

On Thursday 27 September 2001 12:00, * R&zE: wrote:
> > Right in principle. But there are cases (common ones), like the one
> > shown above, where errors are unavoidable and normal. For these cases
> > the @ operator is the right thing. Generally you're right though -
> > error reporting should be set to E_ALL and reasons of avoidable
> > errors/warnings should be eliminated.
>
> Correct me if I'm wrong, but I saw some posts coming along on this
> list yesterday (I think) telling that getImageSize can't handle
> URL's. So... in that case... Don't use @, but check the syntax of
> the variable you want to pass as parameter for getImageSize.

According to my docs (08 Sep 2001) it can.
And http://php.net/getimagesize says the same..

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

REALITY.SYS corrupted ... reboot Universe [Y,n]?

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>