Ver Mensaje Individual
  #2  
Antiguo 29-03-2004
cahp cahp is offline
Miembro
 
Registrado: may 2003
Ubicación: Alicante
Posts: 90
Reputación: 22
cahp Va por buen camino
Grabar datos en archivo

A ver si te vale esto:


function Grabar($texto){
$thefile = PATH_DIRECTORIO."nombre.txt";
$resultsfile = fopen ($thefile,"a");
$updated=date('d/m/Y').";".date('H:i:s').";".$texto."\n\r";
fwrite ($resultsfile,$updated);
fclose ($resultsfile);
}


Saludos.
Responder Con Cita