PHP file_put_contents May 11, 2012 Pramod T P It writes a string to a file Example <?php file_put_contents(“test.txt”,”phpcodez”); ?>