note 76293 deleted from function.getimagesize by mazzanet

From: Date: Mon, 28 Jan 2008 10:59:43 +0000
Subject: note 76293 deleted from function.getimagesize by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135463@lists.php.net to get a copy of this message
Note Submitter: way2sirius ---- Or, you could check that the image file exists before calling the function: $is = null; $pic = 'path/to/image.jpg'; if( file_exists($pic) ) { $is = getimagesize($pic); }

« previous php.notes (#135463) next »