title: How to save a base64 decoded image in the filesystem using php?
body: <p>I am getting a base64 encoded JPEG string via a POST request to my web service. 
  I want to decode it and save it in the filesystem. 
  How can I achieve this using PHP 5.3. 
  I am able to successfully decode the data using the base64_decode function. </p>
  
  <p>How can I save this decoded string as a JPEG image in the server?</p>
  
  <p>Thanks in advance. </p>