title: Cross domain uploading , upload files from one domain on another domain
body: <p>how to allow one domain to access another domain for uploading files from domain1 on domain2?
  I have a page on domain1 from where users upload images but I want that the images get uploaded on a folder on domain2.com like domain2.com/uploads. </p>
  
  <p>How do to allow domain1 to access domain2?</p>