I've just upgraded my Linux 7 server with PHP 4.0.4 pl1.  Before the 
upgrade, I was using version 3.??? (can't remember exact version).  I used 
the standard file-upload form that looked like the following:

<form action="$PHP_SELF" method=post enctype=multipart/form-data>
. . .
</form>

When the file (and other fields) are uploaded, the are prepended with a CR 
and LF.  When I view the results in lynx, it shows the entire header 
information .. "Content-type: text/html . . . .".  Essentially, I seem to 
be getting raw data returned to the browser.

Is this a change in PHP4?  This doesn't happen when I move my script to a 
PHP3 server.  I've searched the archives but didn't find this particular 
problem.

Thanks,

Michael Ridinger


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