Jump to content

server to server communication


daydreamer

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.