After having spend almost two hours on, I was more confused than before. I had always thought that you could just use fopen(), but I couldn't find any good examples and when I saw the huge list of related functions, I didn't have the faintest idea of how to open en write to files with one simple function.

Can anyone help out this desperate PHP newbie?