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) <[EMAIL PROTECTED]>:
> I don't know if its a wi
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) <[EMAIL PROTECTED]>:
> I don't know if its a windows php version pro
> 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 (
fputs($this->fileID,"\n");
Note the "", instead of ''.
Tom
-Original Message-
From: German Piqué [mailto:[EMAIL PROTECTED]
Sent: 20 September 2006 09:37
To: php-windows
Subject: [PHP-WIN] A problem writting to a file
Well... I am making a class that realizes the efects of a logging sys