Memory Refresh



Streams,  
Read file

1) Read file <?php if ($fd = fopen($file, "r")) { $contents = ____________; }





2) Move the pointer at the start of the file <?php $contents = fread($fd, filesize($file)); // pointer at the end





0 / 0