how to display the contents of a txt file with php code example Example: php get file contents <?php file_get_contents("file.txt"); ?>