title: How to write data to a .csv file, from accessing a url (perhaps using .php to capture data at the end of the url)
body: <p>I'm new to programming.
  I've been researching my problem for a while.
  I'm doing a project with arduino. I already know how to make connections and everything, I have no doubts about the Arduino or its modules.</p>
  <p>At this point, my question is, how to create a script (maybe a .php) to do the following function:</p>
  <p>&quot;Write the data at the end of a URL to a .csv file&quot;</p>
  <p>The idea is: I access a url like http://my site . com/XYZ_38.5</p>
  <p>So this script adds the number 38.5 to my .csv file.</p>
  <p>The file would look like this:</p>
  <pre><code>37.5
  38.0
  38.0
  36.0
  36.5
  38.5 (that was the insertion)
  39.0 (this will be the next insert, when I access the url http://my site . com/XYZ_39.0)
  </code></pre>
  <p>Can anyone help me how to do this? I have an instance on AWS, I intend to implement there. I intend to do this collection method for temperature data to one decimal place. Something similar to ThingSpeak, but only for my use and using .csv.</p>