note 76131 deleted from function.getimagesize by mazzanet

From: Date: Mon, 28 Jan 2008 10:59:27 +0000
Subject: note 76131 deleted from function.getimagesize by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135462@lists.php.net to get a copy of this message
Note Submitter: geoff at spacevs dot com ---- In reply to the below suggestion: <?php print("<!--"); $is = getimagesize($pic); print("-->"); ?> This is nasty as the client still will receive the warning, just commented out in the HTML, you can just prefix "getimagesize" with an "@" to suppress any errors or warnings. Eg: <?PHP $is = @getimagesize($pic); ?>

« previous php.notes (#135462) next »