Tommy Straetemans wrote:

> Is there a way to check the height and width from a picture that I upload?


yes, easy.

but you need gdlib installed. 

<?php phpinfo(); ?> 

will tell you.

from the documentation:
" The GetImageSize() function will determine the size of any GIF, JPG, 
PNG, SWF, PSD or BMP image file and return [in an array] the dimensions 
along with the file type and a height/width text string to be used 
inside a normal HTML  IMG tag."

please also consult the php documentation for other (image) functions, 
it's excellent.

phil.


-- 
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