I really don't know the difference between writing to a files using binary mode, and doing so using ASCII mode....so what's the difference? I once had a problem with writing a blog feature, and it only worked properly when I wrote to files with fwrite() and not fputs(), which is binary-mode writing.