1
Web Oriented Coding / Re: Write to file
« on: December 12, 2010, 02:50:46 pm »Code: [Select]
This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file.
Plus, the fopen() call allows you to change the opening permissions more easily than the file_put_contents().Nevertheless, file_put_contents is nice if you want to write something quickly