<?PHP
$size = getimagesize ($userfile);
echo "<pre>";
print_r($size);
echo "</pre>";
?>

userfile is file you want to get size of.

Zliy Pes, http://www.zliypes.com.ua
----- Original Message -----
From: "Tommy Straetemans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 4:32 PM
Subject: [PHP] pictures width and height


> Hi,
>  I'am new in php and i have a question.
> Is there a way to check the height and width from a picture that I upload?
>
>
> Tommy Straetemans
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to