file upload across domains

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ozgur uksal
    New Member
    • Jan 2007
    • 2

    #1

    file upload across domains

    hi,
    Is there any way to upload data across domains?

    In other words, assume you own two domains on the same server, and the first domain, that your client visits to upload data, is going to be out of web space, and you want to use the other domain to store data. Since, your php upload script is on the first domain, is there any way to make your php code to upload data to the second domain that contains enough web space (across domains)?

    thank you

    ozgur uksal
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by ozgur uksal
    hi,
    Is there any way to upload data across domains?

    In other words, assume you own two domains on the same server, and the first domain, that your client visits to upload data, is going to be out of web space, and you want to use the other domain to store data. Since, your php upload script is on the first domain, is there any way to make your php code to upload data to the second domain that contains enough web space (across domains)?

    thank you

    ozgur uksal
    http://www.webcheatsheet.com/php/file_upload.php
    If you are uploading via a FORM element, you can make the ACTION tag point to a handler script on the other domain.

    Comment

    Working...