Programmieren » PHP » Write and append to files with file_put_contents (ID 25586)
| Sprache: Englisch | |
| Skill: | |
| Rating: | |
| Beschreibung: The PHP file_put_contents() function is a useful shortcut for dumping a string into a file (compared with using fopen, fputs etc). By default it will create a new file if it does not exist, or overwrite the file if it does exist. Recently I re-read the documentation for this function and discovered it is also possible to append to a file with file_put_contents. | |
Zurück - Tutorial bewerten - Skill bewerten - Tutorial übersetzen - Link defekt!?

