<?php
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
$txt = "John Doe\n";
fwrite($myfile, $txt);
fclose($myfile);
?>
Categories: PHP language
<?php
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
$txt = "John Doe\n";
fwrite($myfile, $txt);
fclose($myfile);
?>
4 Comments
Bart Pemberton · 29/10/2024 at 03:20
… [Trackback]
[…] Find More Information here to that Topic: durukanbal.com/2022/10/11/php-write-file-sample/ […]
Nexus Market · 23/11/2024 at 14:55
… [Trackback]
[…] Find More on on that Topic: durukanbal.com/2022/10/11/php-write-file-sample/ […]
สูตรหวยฮานอย · 24/11/2024 at 02:30
… [Trackback]
[…] Here you can find 19949 more Info on that Topic: durukanbal.com/2022/10/11/php-write-file-sample/ […]
789bet · 28/11/2024 at 09:10
… [Trackback]
[…] Read More on on that Topic: durukanbal.com/2022/10/11/php-write-file-sample/ […]