#22816 [Csd->Bgs]: POST-uploaded file get strange content

From: Date: Fri, 21 Mar 2003 17:05:59 +0000
Subject: #22816 [Csd->Bgs]: POST-uploaded file get strange content
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36126@lists.php.net to get a copy of this message
ID: 22816 Updated by: magnus@php.net Reported By: zorander at gmx dot net -Status: Closed +Status: Bogus Bug Type: HTTP related Operating System: SuSE Linux 8.1 PHP Version: 4.3.1 New Comment: Please leave status "Bogus" as this wasn't really a bug, but a configuration issue. Thanks. Previous Comments: ------------------------------------------------------------------------ [2003-03-21 10:51:02] zorander at gmx dot net yes, seems to be the same issue.... sorry for bothering you... ------------------------------------------------------------------------ [2003-03-21 10:33:33] magnus@php.net Probably same issue as bug #19263 Take a look at that bug or search the bug database for similiar issues (there are plenty of them). ------------------------------------------------------------------------ [2003-03-21 10:23:27] zorander at gmx dot net I am not sure if I am right here, but anyhow: When I do a file upload with POST: <form action='index.php' method='POST' enctype='multipart/form-data'> File: <input type='file' name='anyname' class='input-field'> <input type='hidden' name='MAX_FILE_SIZE' value='1000000'> <input type='submit' value='Send'> <input type='hidden' name='p' value='anypage'> </form> my uploaded file gets some strange content: ;-----------------------------6e214021d Content-Disposition: form-data; name="*"; filename="* Content-Type: application/octet-stream When i upload binary files (for example images) they will get ripped, too. I am using PHP 4.3.1 and Apache 2.0.44 <- this may be the problem (?)... Thx ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22816&edit=1

« previous php.bugs (#36126) next »