I'm trying to upload a file to my server using php.
I have a form and i have set the enctype to multipart/form-data and i have a input type of file.
I was reading php.net documentation which said to use $_FILES to upload.
When i do :
echo $_FILES['file']['mime']; or any other tpye like that, nothing is output.
When i do print_r($_FILES); it outputs an empty array.
Any ideas ?