# Possible Upload Bug

- Thread: https://externals.io/message/27583
- Original archive: https://news-web.php.net/php.internals/27583
- Started by Sergiu Voicu on 2007-01-22T12:26:35+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #27583 — Sergiu Voicu — 2007-01-22T12:26:35+00:00

URL: https://externals.io/message/27583#27583

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
