Actually, what I am trying to do is to write a tool for my job so that we can document certain information locally. No, I can't run a PHP server.
Basically, I am running the HTML pages from locally stored files, and I need to be able to save the data locally to a text file or Excel spreadsheet. Either will work just fine, but writing to a text file is probably easier. Thanks.