NYCPHP Meetup

NYPHP.org

[nycphp-talk] limit file types on image uploads?

Hans Zaunere hans at nyphp.org
Wed Jul 16 20:42:59 EDT 2003



Joshua Glenn wrote:

> i've used getimagesize(), which will give you an array with one of the 
> array elements saying what kind of image it is.

In late versions of PHP there's http://us2.php.net/mime_magic  which may be handy (although finiky at times).


Also, offtopic, phpclasses has been a hot item today:  don't forget the NYPHP mirror:  http://mirrors.nyphp.org/

H






More information about the talk mailing list