Re: A problem writting to a file

From: Date: Mon, 25 Sep 2006 07:27:50 +0000
Subject: Re: A problem writting to a file
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-27172@lists.php.net to get a copy of this message
German Piqué wrote:
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
There will have been some detail that was different ;-)
-- www.deployview.com www.nerds-central.com www.project-network.com

« previous php.windows (#27172) next »