$fh=fopen("testfile.txt",'r+')ordie("Failed to open file");
$text=fgets($fh);
fseek($fh,0,SEEK_END);
fwrite($fh,"$text")ordie("Could not write to file");
fclose($fh);
echo"File 'testfile.txt' successfully updated";
?>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.