or use a file_write_contents()
That bug should be evident from posting once. Test posts are discouraged.
k
At this point, I'd be fine.