PHP - File Handling
What is wrong with this PHP code snippet?
$file = fopen("output.txt", "a+");
fread($file, 100);
fwrite($file, "More data");
fclose($file);