I am having a tough time trying to upload files through PHP.My form:\[code\]<form action="blah.php" enctype="multipart/form-data" method="post"><p> Upload file: <input type="file" name="xmlfile"/><input type="submit" name="upload_submit" value="http://stackoverflow.com/questions/3933766/Upload" /> </p></form>\[/code\]Checklist:
- No 'smart' quotes in sight. Fine.
- Proper enctype. Fine.
- name attrib in input tag. Fine.
- My \[code\]/tmp\[/code\] directory has the following permissions: \[code\]drwxrwxrwt\[/code\]. Fine.
- post_max_size = 50M, upload_max_filesize = 50M, file_uploads = On. Fine.