Data is automatically synced to remote php mysql database

I am developing a web application for inventory management using PHP

and MySQL

. This application will work both locally and remotely. If they are not connected to the Internet, the data will be stored in the local database, however, when the Internet is available, the application will automatically sync with the remote database. Does PHP / MySQL support these local and remote capabilities?

+3


source to share


1 answer


This application can be run with PHP and MySQL. A good solution would be to use connections cURL

using API Keys or tokens with service jSON

requests and receipts. Such an application would be extensive enough to create. The local machine would obviously need to start the web service and install PHP

and MySQL

.

Here is the cURL instruction:

http://php.net/manual/en/book.curl.php



Here's some information on jSON:

http://php.net/manual/en/book.json.php

+1


source







All Articles