lunes, 9 de febrero de 2009

Convertir archivo de texto plano a string y guardarlo en memoria

// set file to read

$filename = "mindspace.txt";


// read file into string

$data = file_get_contents($filename) or die("Could not read file!");

No hay comentarios: