Menu
Hi,
I can’t seem to find any manuals on php.net that shows how can I validate a file upload by checking its MIME type. I used the
[code=php]explode(‘.’, $filename);
method on handling my file upload validation (which I positively believe is not guaranteed). Can someone show me some snippet on such matters?
Thank you so much.