Forum Moderators: coopster
electricocean
[php.net...]
you could also use $_FILES['userfile']['type'], but it can be spoofed so you really shouldt trust the value returned by that :)