ID: 8958
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Unknown/Other Function
Description: File uploads append Content-Type string

Being that it happens to every file uploaded, I don't know how helpful this will be 

$file = $HTTP_POST_FILES['file']['tmp_name'];
$file_name = $HTTP_POST_FILES['file']['name'];

Now, the file created has the Content-type: xxx/xxxxx  plus an additional blank line 
at the top of the file.....

Previous Comments:

[2001-01-27 20:50:26] [EMAIL PROTECTED]
Please provide a short snippet of code that
reproduces this effect. 


[2001-01-27 18:20:35] [EMAIL PROTECTED]

Doing file uploads with php 4.0.4pl1 on RH7 (RedHat RPMs) appends the Content-Type: 
xxxx/xxxxx  line to the top of the files.

-- Medvitz


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to