RE: [PHP-WIN] A problem writting to a file

From: Date: Wed, 20 Sep 2006 08:53:21 +0000
Subject: RE: [PHP-WIN] A problem writting to a file
Groups: php.windows 
Request: Send a blank email to php-windows+get-27159@lists.php.net to get a copy of this message
fputs($this->fileID,"\n"); Note the "", instead of ''. Tom -----Original Message----- From: German Piqué [mailto:extremdur2@gmail.com] 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 system, in order to be able to debug my scripts that works with cookies, but I foun a problem. 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... the ugly result is something like this: Beginning the logging at:\nPrueba de insertar texto sin abrir el archivo a mano.\nA ver si lo inserta con un retorno de carro\n Beginning the logging at:\nPrueba de insertar texto sin abrir el archivo a mano.\nA ver si lo inserta con un retorno de carro\n Beginning the logging at:\nPrueba de insertar texto sin abrir el archivo a mano.\nA ver si lo inserta con un retorno de carro\n Beginning the logging at:\n Anyone had this problem?

« previous php.windows (#27159) next »