Final
This commit is contained in:
RobinNixon
2020-12-10 13:51:38 +00:00
parent 53063593e3
commit 3bc0bb7409
280 changed files with 0 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php // testfile.php
$fh = fopen("testfile.txt", 'w') or die("Failed to create file");
$text = <<<_END
Line 1
Line 2
Line 3
_END;
fwrite($fh, $text) or die("Could not write to file");
fclose($fh);
echo "File 'testfile.txt' written successfully";
?>