finding a file type
Posted: Thu Dec 07, 2006 8:35 am
Hi I am allowing users to upload files to my site.
However I would like to restrict them to just PDF, word files and powerpoint presentations.
Is there a function like getimagesize to allow this?
However I would like to restrict them to just PDF, word files and powerpoint presentations.
Is there a function like getimagesize to allow this?