viernes, 16 de diciembre de 2016

fread get contents of a file into a string

<php
// get contents of a file into a string
$filename "/usr/local/something.txt";
$handle fopen($filename"r");
$contents fread($handlefilesize($filename));
fclose($handle);
?>

No hay comentarios:

Publicar un comentario