Msg#: 4254104 posted 7:34 am on Jan 17, 2011 (gmt 0)
Hello all and thanks for any advice/tips.
We have a domain (www.site1.com) in one server (server1). There, we give our users the option to upload images (jpg) to our server. They can do so from multiple pages and not just from one page).
After some years, we now need to move the new uploads to a new server/domain - we are running low on available disk space.
So, my question is: can our upload script sends the new images to a different domain to be stored there? I mean: upload script works in site1.com (server1) and will store images in site2.com (server2).
The upload script works in a popup/modal window and includes some files (check login of user and some classes for resizing images).
Msg#: 4254104 posted 4:30 pm on Jan 17, 2011 (gmt 0)
Assuming the second domain is on a different server, then your upload script must reside within that second domain on the second server in order to store files there. So the <form> tag on your first domain will point to the script on the second domain. But once the upload had completed, you could certainly have that script redirect the user back to a page on the first domain so that they would not generally be aware of the second domain.