How to limit uploads to image types only?

See all posts Reply

How to limit uploads to image types only? new!
by Mike, 15 years, 9 months ago
How do I limit the file types to images only. Currently using the image upload, it allows any file type to be uploaded.

Thanks for the great class.

MikeReply
Re: How to limit uploads to image types only? new!
by colin, 15 years, 9 months ago
Try with this:
$handle->allowed = array('image/*');
Reply
Re: How to limit uploads to image types only? new!
by Mike, 15 years, 9 months ago
Was that fast!

Thanks -

Great class AND support!Reply