Re: Transferring rows between 2 databases on 2 web servers
| From: | Karl DeSaulniers | Date: | Mon, 18 Jan 2010 06:34:20 +0000 |
| Subject: | Re: Transferring rows between 2 databases on 2 web servers | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46776@lists.php.net to get a copy of this message | ||
I would create a PHP file that is stored on each server that you call from your master server.
In that file that is stored on each server, write the code that retrieves your data and get/send the response.
Karl
On Jan 18, 2010, at 12:23 AM, Ferdi wrote:
Hi Everybody, There are n number of web servers all having the same Linux-Apache-MySQL-Php setup, with identical databases. Each of these servers functions as a billing server at a store of my company. Now I am required to set up a master server that will copy all data from each of the store servers. All I wish to know is: How can a page on the master server obtain data from a store database by calling a page located on the store server? I do not wish to access a store database directly, but through a page on the store server. Specifically, how can a web page get data from another web page on another server. Many thanks, FerdiKarl DeSaulniers Design Drumm http://designdrumm.com