Re: A problem writting to a file

From: Date: Wed, 20 Sep 2006 09:21:34 +0000
Subject: Re: A problem writting to a file
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-27163@lists.php.net to get a copy of this message
Well, I tried and all of you were right... but I tried it a days ago and it didn't worked!! :( That's fustrating... I don't understant why works now... Well... Thank you all :D 2006/9/20, Mikael Krogius (Winwap Technologies) <krogius@winwap.com>:
I don't know if its a windows php version problem, but when I try to insert the newline caracter: '\' like this: fputs($this->fileID,'\n'); it writes "\n" instead of creating a new line... Try doing this: $RowToWrite = $WriteThis."\r\n"; - Mikael -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#27163) next »