file_get_contents in php with dynamic variable code example Example: php get file contents <?php file_get_contents("file.txt"); ?>