Answers for "create a new file and write in it php"

PHP
8

write to file php

$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
fwrite($myfile, "Content to write to file");
fclose($myfile);
Posted by: Guest on October-22-2020

Code answers related to "create a new file and write in it php"

Browse Popular Code Answers by Language