note 68657 added to function.getimagesize

From: Date: Sat, 05 Aug 2006 14:49:15 +0000
Subject: note 68657 added to function.getimagesize
Groups: php.notes 
Request: Send a blank email to php-notes+get-115568@lists.php.net to get a copy of this message
I have issues trying to use getimagesize. The problem is that the images I am checking are not mine, so if someone deletes an image, I get a warning. I tried to use fopen first, to check if the file exist, but then I get fopen warnings. Is there a way to check if a file exists first, before passing the URL to getimagesize? Sorry if this is rudimentary, but I am new in this thing. ---- Server IP: 66.163.161.117 Probable Submitter: 89.210.126.236 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.getimagesize.php Edit -- https://master.php.net/note/edit/68657 Del: integrated -- https://master.php.net/note/delete/68657/integrated Del: useless -- https://master.php.net/note/delete/68657/useless Del: bad code -- https://master.php.net/note/delete/68657/bad+code Del: spam -- https://master.php.net/note/delete/68657/spam Del: non-english -- https://master.php.net/note/delete/68657/non-english Del: in docs -- https://master.php.net/note/delete/68657/in+docs Del: other reasons-- https://master.php.net/note/delete/68657 Reject -- https://master.php.net/note/reject/68657 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115568) next »