How to Implement file_put_contents and file_get_contents in PHP? August 21, 2012 php No Comments We can implement (re-invent the wheel) file_put_contents and file_get_contents in PHP to write string to a file and read content as a string from file. file_put_contents is a PHP5 … [Continue Reading...]