Hello All:

I am using a simple script to upload files to allow users to upload
files to a website.  All of the various scripts I have tried basicaly
use the recommendations from the PHP manual regarding file uploads.  The
user posts a file, which is temporarily held in the temp directory
specified by php.ini and then the system copies the files to it's
ultimate destination directory.  Everything works great with one
exception:

All files that are uploaded get corrupted by adding the line:

"Content-Type:something/whatever" and a blank line below it

I am not sure what is causing this to be added to the files, php or
apache but it is driving me nuts.

As a desperate measure I use a shell script to whack the two top lines
off every file after they are uploaded, but this seems absurd.

Can anyone shed any light on this?

Cheers,

Jim


-- 
PHP General 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