|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-29 09:44 UTC] sniper@php.net
[2005-05-07 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
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