Recommend this page to a friend! |
Classes of Ali YILMAZ | PHP Write to File | README.md | Download |
|
DownloadWhat is write ?It is used to write the specified content to the specified file. It is created if the file and directory in question does not exist, returning true if the operation was successful, false otherwise. takes three parameters; First parameter: It represents the content and can be sent as Second parameter: It represents the file path, if there is a file, the data in question is appended to the end of the file, if there is no file, a file with the specified name in the path is created and written to this file. Third parameter: Represents the value to be used to separate data specified as an array. It is not required to be specified, by default data:
Out-of-class use: code:
When using it in the class: code:
output:
DependenciesLicenseInstructions and files in this directory are shared under the GPL3 license. |