Results 1 to 3 of 3
  1. #1

    Signup from one server, upload to another.

    Hello fellow programmers,

    I've struck a deal with a great image host to host my photos, while my current host, hosts the pages. But what I need to figure out is, how do I let the user signup from my site, but their image is uploaded to my partner's site?

    Can this be done with php?

    One option is to have the signup scripts on the image host server, but I can't access my databases remotely, so that wouldn't work.

    What do other types of sites do?

    Jon Marus

  2. #2
    Join Date
    Dec 2002
    NY, NY
    Of course you can access your DB's remotely.
    Just change the location from localhost to the location.

    You can have a page like upload.php on the image server.
    After you process the form, and append to DB, then u forward the user to upload.php and it uploads the image.

    You can also do it using sockets, but that is more complicated.

  3. #3
    So you think I should insert data into my database from my site, then when it's time to upload, forward to the image host?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts