From:             [EMAIL PROTECTED]
Operating system: Red Hat 7.0
PHP version:      4.0.6
PHP Bug Type:     Filesystem function related
Bug description:  Upload Files with problem

I use Red Hat 7.0+PHP 4.06 to write a web page to let the users can upload
files to the server.
The files are successfully uploaded to the server,but the files are added
words "Content-Type: application/octet-stream" in the head of the files.The
words make the files such as MS-word , MS-excel to be coded badly.How can I
solve it ?

copy($filename,"/var/www/html/data/upload/board/$targetfile");


-- 
Edit bug report at: http://bugs.php.net/?id=14680&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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