vikaspa Posted March 29, 2011 Share Posted March 29, 2011 I have 2 websites currentweb.com copyweb.com (say) Using php can I update 2 databases and upload files in both these 2 websites ( for both these web sites I have user id and password exmaple I am uploading a file (Image), in currentweb.com can I upload it to copyweb.com at the same ( I have database and ftp password for this ) If Yes Please help with code Quote Link to comment https://forums.phpfreaks.com/topic/232110-update-data-in-2-websites/ Share on other sites More sharing options...
hansford Posted March 30, 2011 Share Posted March 30, 2011 Don't have time to write the code for you, but look at the ftp functions: ftp_fget and ftp_fput. Quote Link to comment https://forums.phpfreaks.com/topic/232110-update-data-in-2-websites/#findComment-1193953 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.