php read file and output code example Example: php file read <?php echo file_get_contents("text.txt"); ?>