RE: [PHP] @getimagesize
| From: | Niklas Lampén | Date: | Thu, 03 Apr 2003 08:54:50 +0000 |
| Subject: | RE: [PHP] @getimagesize | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142096@lists.php.net to get a copy of this message | ||
Check if file exists with file_exists().
Niklas
-----Original Message-----
From: Diana Castillo [mailto:diana@interhotel.com]
Sent: 3. huhtikuuta 2003 11:42
To: php-general@lists.php.net
Subject: [PHP] @getimagesize
even though I use a @getimagesize , I still get the following Warning
when the image is not on the server. I need to somehow not have the
warning come out when there is no image there.
Warning:
getimagesize(http://www.hotelresb2b.com/planos/PLHAHC019330.GIF)
[function.getimagesize]: failed to create stream: HTTP request failed!
HTTP/1.1 404 Not Found at
c:\inetpub\wwwroot\web\site\ReservationManager.php line 190.
I am using PHP Version 4.3.1
Thank you , Diana
###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/