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