Hi! %-)

The code below makes a form. This form creates a temporary file that
contains the data of the original source file. This temp file is sent to the
server using FTP.

On my first config (Win NT4, Apache 1.3.19, PHP 4.0.4pl1), the temp file is
exactly the same as the original file and so the uploaded file is the same
as the original one.

On my second config (RedHat 7, Apache 1.3.14, PHP 4.0.4pl1), the temp file
has not the same size as the original file because a MIME header is added at
the top of file and so the uploaded file is not the same as the original
one.

The client is IE5 under Win NT4.

Where is the problem? Is it an Apache or a PHP fault? How to fix it?

Thx.

<form enctype="multipart/form-data" action="upload.php" method="post">
<br>
Fichier : <input type="file" name="filename" size="80">
<input type="submit" value="Upload">
</form>





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