Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27583 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20680 invoked by uid 1010); 22 Jan 2007 12:25:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20665 invoked from network); 22 Jan 2007 12:25:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2007 12:25:04 -0000 Authentication-Results: pb1.pair.com header.from=vsergiu@mediabox.ro; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=vsergiu@mediabox.ro; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mediabox.ro from 193.226.111.96 cause and error) X-PHP-List-Original-Sender: vsergiu@mediabox.ro X-Host-Fingerprint: 193.226.111.96 mail2.online.ro Linux 2.4/2.6 Received: from [193.226.111.96] ([193.226.111.96:59013] helo=mail2.online.ro) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/4D-10607-E1DA4B54 for ; Mon, 22 Jan 2007 07:25:04 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail2.online.ro (Postfix) with ESMTP id 2588710009C for ; Mon, 22 Jan 2007 14:25:08 +0200 (EET) Received: from mail2.online.ro ([127.0.0.1]) by localhost (mail.online.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04353-04 for ; Mon, 22 Jan 2007 14:25:06 +0200 (EET) Received: from [86.123.240.138] (unknown [86.123.240.138]) by mail2.online.ro (Postfix) with ESMTP id E697D10009B for ; Mon, 22 Jan 2007 14:25:05 +0200 (EET) Message-ID: <45B4AD7B.8070705@mediabox.ro> Date: Mon, 22 Jan 2007 14:26:35 +0200 User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at online.ro Subject: Possible Upload Bug From: vsergiu@mediabox.ro (Sergiu Voicu) 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