Check file type. e.g if your form had
<input type="file" name="uploads"/>

the your php should have
$_FILES[uploads][type]

On Wed, Jun 17, 2009 at 10:14 AM, Peter Kipkoech <peter.kipkoech@gmail.com> wrote:
Hey Skunkers,

Is there a PHP function/class that  for performing MIME Type validation. The form is currently using the upload file extension to validate file uploads,I later realized its susceptible to abuse especially from Windows users.
--
Nothing’s impossible the impossible just takes a little longer.

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general