ID:               32883
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jack at martinelli dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Linux (Debian)
 PHP Version:      4.3.10
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-04-29 05:25:59] jack at martinelli dot org

Description:
------------
On Windows upload a text file, e.g., 

123
456
789

Then on the server move the uploaded file to some directory then dump
the file & its:

12
45
78


Reproduce code:
---------------
move_uploaded_file( $_FILES[$filename],['tmp_name'], 'tmp/tmp.txt');
echo file_get_contents ('tmp/tmp.txt');

Expected result:
----------------
123
456
789

Actual result:
--------------
12
45
78


------------------------------------------------------------------------


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

Reply via email to