note 61877 deleted from function.getimagesize by mazzanet

From: Date: Mon, 28 Jan 2008 11:09:25 +0000
Subject: note 61877 deleted from function.getimagesize by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135468@lists.php.net to get a copy of this message
Note Submitter: snaprage at iinet dot net dot au ---- john, helpful indeed I used: function getFileSizeW($filePath){ $blah = getimagesize($filePath); $type = $blah['mime']; $width = $blah[0]; return $width;} function getFileSizeH($filePath){ $blah = getimagesize($filePath); $type = $blah['mime']; $height = $blah[1]; return $height;} $sizeW = getFileSizeW($file); $sizeH = getFileSizeH($file); the info is gathered from using $_POST[''] as its entered by the user. This may be helpful for somebody...

« previous php.notes (#135468) next »