Possible Upload Bug

php.internals

Sergiu Voicu

19 years ago
Hello I've discovered something that seems to be a bug. Not sure which one is the cause (the PHP processor or the browser), but here it is the description. I've created a form with enctype=multipart/form-data and of course a file input field. Now everything seem to work fine until I try to upload a certain PDF document, when the script that processes the upload shows me an empty $_FILES array. I have tried uploading other PDF files and without anything weird happening. I am not very sure that I am allowed to attach files when using this mailing list, so if someone can take a look at this problem I will send him/her this specific file. Other details related to the system where I have tested Server: Apache/2.0.55 PHP: PHP 5.1.6 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/0000000000 Firefox/2.0.0.1 (Ubuntu-edgy) Sergiu