M
→PHP 5: copyediting
M (→Error Checking: fix comment) |
M (→PHP 5: copyediting) |
||
}}
''file_put_contents()'' is almost always preferable over the ''fopen()'' method except when performing multiple operations on the same file. It is more preferable to use it for writing than ''file_get_contents()''
<source lang="php">
<?php
|