php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22816 POST-uploaded file get strange content
Submitted: 2003-03-21 10:23 UTC Modified: 2003-03-21 12:18 UTC
From: zorander at gmx dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.1 OS: SuSE Linux 8.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zorander at gmx dot net
New email:
PHP Version: OS:

 

 [2003-03-21 10:23 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-21 10:33 UTC] 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:51 UTC] zorander at gmx dot net
yes, seems to be the same issue....

sorry for bothering you...
 [2003-03-21 11:05 UTC] magnus@php.net
Please leave status "Bogus" as this wasn't really a bug,
but a configuration issue. Thanks.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 09:01:32 2025 UTC