codexx Posted April 4, 2007 Share Posted April 4, 2007 Hey Everyone, I have 2 Servers running. 1 for images, 1 for php docs. I have an image upload script.. both servers are under the same domain ie. http://www1.mydomain.com http://www2.mydomain.com Is there anyway to resize my images etc on the php server and then directly upload the files to the other server without having to ftp it and then delete it from the php server? Thanks in Advance, Sean Link to comment https://forums.phpfreaks.com/topic/45502-upload-file-to-other-server/ Share on other sites More sharing options...
codexx Posted April 5, 2007 Author Share Posted April 5, 2007 by the way, i'm running Cpanel on a redhat 9 box. Link to comment https://forums.phpfreaks.com/topic/45502-upload-file-to-other-server/#findComment-221779 Share on other sites More sharing options...
MadTechie Posted April 5, 2007 Share Posted April 5, 2007 if you upload to the php server then your have to then upload them to the image server after, i can't think of a way to do it unless they were sub-domains Link to comment https://forums.phpfreaks.com/topic/45502-upload-file-to-other-server/#findComment-221797 Share on other sites More sharing options...
codexx Posted April 5, 2007 Author Share Posted April 5, 2007 It is a subdomain to the extent of main server being domain.com and the image server being images.domain.com. Link to comment https://forums.phpfreaks.com/topic/45502-upload-file-to-other-server/#findComment-221850 Share on other sites More sharing options...
MadTechie Posted April 5, 2007 Share Posted April 5, 2007 in which case you could use the php site to upload and resize the images directly to your images site but you may need to edit the open_basedir settings as restrictions may apply Link to comment https://forums.phpfreaks.com/topic/45502-upload-file-to-other-server/#findComment-221896 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.