daydreamer Posted September 30, 2008 Share Posted September 30, 2008 I will have two web servers, and need to transfer data between the two. They are not on the same LAN network. What is the best way to do this (fastest, efficient and most secure)? 1. I could http post the details using cURL, from one server to another, so that a PHP script will then receive the post details and then process/save details? (could use https to secure the data?) 2. Or I could set up remote mySQL access between the two servers and then just connect and save the data directly to the mySQL databases as required. Anyone got any ideas or suggestions? Link to comment https://forums.phpfreaks.com/topic/126498-server-to-server-communication/ Share on other sites More sharing options...
DarkWater Posted September 30, 2008 Share Posted September 30, 2008 I'd take the MySQL approach if you could. Link to comment https://forums.phpfreaks.com/topic/126498-server-to-server-communication/#findComment-654114 Share on other sites More sharing options...
discomatt Posted September 30, 2008 Share Posted September 30, 2008 SFTP/ Secure Shell access would be your best bet. Link to comment https://forums.phpfreaks.com/topic/126498-server-to-server-communication/#findComment-654119 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.