[PHP-WIN] A problem writting to a file
by extremdur2 other posts by this author
Sep 20 2006 1:37AM messages near this date
RE: [PHP-WIN] Date problem
|
RE: [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?
Thread:
extremdur2
Mikael Krogius
extremdur2
Alex Turner
Smitht
|