Ask about general coding issues or problems here.
1 post • Page 1 of 1
The $_FILES['file']['type'] is a user supplied value and hence not a good candidate for validation. Use one of the fileinfo() functions, http://www.php.net/manual/en/function.finfo-file.php
Who is online
Users browsing this forum: No registered users and 2 guests