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