I think I may have had this problem before and it was my own stupidity that was the trouble -- but as of now my PHP scripts are refusing to write to files (that already exist).
As such:
$fileopen = fopen("mylog.txt", "a");
fwrite($fileopen, "$addition");
fwrite($fileopen, "\t @ $IP \n");
fclose($fileopen);
I've also tried using the full path to mylog.txt, which gave a more specific error message - failed to open stream: HTTP wrapper does not support writeable connections.
Is this my fault, or has something changed?
EDIT: I've also tried using "w" and "wa" instead of "a" for the type of stream I'm opening...no luck.