title: Save PHP variables to a text file
body: <p>I was wondering how to save PHP variables to a txt file and then
  retrieve them again.</p>
  
  <p>Example:</p>
  
  <p>There is an input box, after submitted the stuff that was written in
  the input box will be saved to a text file. Later on the results need
  to be brought back as a variable. So lets say the variable is $text I
  need that to be saved to a text file and be able to retrieve it back
  again.</p>