Final
Final
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
<?php // update.php
|
||||
$fh = fopen("testfile.txt", 'r+') or die("Failed to open file");
|
||||
$text = fgets($fh);
|
||||
|
||||
fseek($fh, 0, SEEK_END);
|
||||
fwrite($fh, "$text") or die("Could not write to file");
|
||||
fclose($fh);
|
||||
echo "File 'testfile.txt' successfully updated";
|
||||
?>
|
||||
Reference in New Issue
Block a user