PHP fread May 11, 2012 Pramod T P It can be used to read the content from a file Example <?php $fp = fopen(‘test.txt’, ‘r+’); echo fread($fp,filesize(“test.txt”)); fclose($fp); ?>