Accessing MySQL from many PHP sites


#1

Hello All,

I want to be able to have many users host forms on their own sites/servers which submit to a single MySQL server.

Then be able to list that data on their own site, retrieving data from my MySQL database.

How can I achieve this without providing MySQL login credentials and opening up my firewall? Is there a PHP data access layer I can use?

Thanks for your help.


#2

Create an API. Slim Framework is good, as is Laravel’s.