Picture Width and Height in $_FILES
| From: | Dimitri Marshall | Date: | Tue, 02 Dec 2003 02:40:27 +0000 |
| Subject: | Picture Width and Height in $_FILES | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171534@lists.php.net to get a copy of this message | ||
Hi there,
I've seen the code somewhere but can't remember what it is exactly.
Basically I need to know what the PHP is to get the picture width and
height.
I tried:
$pic = $_FILES[$objectNumber];
$width = $pic['width'];
$height = $pic['height'];
... with no success.
Any help is greatly appreciated.
Thanks,
Dimitri Marshall