title: Saving a file (to server) via javascript
body: <p>I have a JS game (on a HTML page) and I want to create a log file every time someone plays, so that I can record thing like their score, and the amount of time they played.  </p>
  
  <p>I know that JS is a client side language, so how can I go about saving a file to a server?  Is it possible to insert some .php in my JS to accomplish such a thing?  Or is there a better way?</p>
  
  <p>Thanks!</p>