NYCPHP Meetup

NYPHP.org

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

Joshua Glenn wheelie at acedsl.com
Wed Jul 16 18:16:59 EDT 2003


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

-josh
  -----Original Message-----
  From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]On
Behalf Of Tim Toomey
  Sent: Wednesday, July 16, 2003 6:06 PM
  To: talk at lists.nyphp.org
  Subject: [nycphp-talk] limit file types on image uploads?


  What's the easiest way to limit what types of files people are allowed to
upload on an image upload script?

  -Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030716/c9709d84/attachment.html>


More information about the talk mailing list