Re: @getimagesize
| From: | Diana Castillo | Date: | Wed, 04 Jun 2003 10:01:27 +0000 |
| Subject: | Re: @getimagesize | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150126@lists.php.net to get a copy of this message | ||
THANKS FOR all your help, I found out it was a custom error handling program
that we had that was putting out that error.
"John Coggeshall" <john@coggeshall.org> wrote in message
news:1054633369.7994.11.camel@coogle.localdomain...
> Are you using PHP 4.3.2? Try upgrading :)
>
> John
>
> On Tue, 2003-06-03 at 05:23, Diana Castillo wrote:
> > I use @getimagesize to resize pictures that I get from a url which comes
> > from a database which is always changing. The problem is that sometimes
the
> > url does not contain the picture is is supposed to , and then I get the
> > following error - I can't seem to get rid of this error, does anyone
know
> > how to capture the error so it doesnt come out in a message like this?
> > getimagesize(http://www.hotelresb2b.com/images/hoteles/P1KYHC014833.JPG)
> > [function.getimagesize]: failed to create stream: HTTP request failed!
> > HTTP/1.1 404 Not Found at ReservationManager.php line 299.
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> --
> -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
> John Coggeshall
> john at coggeshall dot org
> http://www.coggeshall.org/
> -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-