title: Generate an image and save it on my server and give url
body: <p>Hi i have following requirement.</p>
  
  <p>1) </p>
  
  <p>A website will send a get request with a message  and callback url as a query. </p>
  
  <p>i want to generate an image and save it on my server and give a url to the calling server on the callback url as a query paramater.</p>
  
  <p>I already have the code to generate the image.</p>
  
  <p>I want to know how to save it on my server to be available to the calling server.</p>
  
  <p>and he should have no access to other images in the folder.</p>
  
  <p>2)</p>
  
  <p>Can any one also tell me how to send an image to a url in a POST request.</p>
  
  <p>Please help...
  Thanx in advance.</p>