file reading methods in php code example Example: php file read <?php echo file_get_contents("text.txt"); ?>