|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-15 14:28 UTC] kalowsky@php.net
[2002-08-15 20:05 UTC] sniper@php.net
[2002-09-23 17:38 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 04:00:01 2025 UTC |
I found some boring things when i use file() fgetc() all my test was based windows and i configed my php with the 'apache module' way . 1. First i create a file named 'file.txt' with the Editplus, and i type some charactors like: s s s s s s my script is : <? $data=file('file.txt'); $wtmsg=implode(NULL,$data); $fp=fopen('file.txt','w'); fwrite($fp,$wtmsg); fclose($fp); ?> after i refresh the page sometimes the 'file.txt' is like : s s s s s the function file() add a lot of \r before \n