Re: Image upload get file dimensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or use getimagesize()

-- 
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel:         +4021 312.53.12
Tel/Fax:  +4021 312.51.91
cristic@interakt.ro
"Chris Payne" <chris@planetoxygene.com> wrote in message
000f01c339b9$387c9e90$0101a8c0@chrisu8knchy5g">news:000f01c339b9$387c9e90$0101a8c0@chrisu8knchy5g...
Hi there everyone,

In short, I use the following to upload an image to the server:

$max_size = 400000;
if (is_uploaded_file($userfile)) {

all works great, but what I want to do is store the file details in my MySQL
DB, how can I easily find out the image width and height etc .... from the
uploaded image so that I can store this information in the DB?

Thanks for your help everyone :-)

Chris



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux