Re: Re: how to detect type of image

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

 



At 9:22 AM -0500 4/28/07, Edward Vermillion wrote:
It should, but instead try this:

$image_size = getimagesize($filename);
echo $image_size['mime'];


$image_size['mime'] ? Where did that come from?

I duno, maybe the manual.

http://us2.php.net/getimagesize   <-- 5th or 6th example down.

Also, try this:

http://xn--nvg.com/image_data

Cheers,

tedd

PS: If your browser chokes, get a better browser.

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux