Hi there!
I have several domains with a database on a central location. Each of the domains contains pages which will be filled with text got from the database.
Now I looked into remotely inclusion of php files to insert this data into the webpages of the domains. However, this seemed to be very slow.
Is there any way to access a remote database from a given webpage? I need to run certain queries on the database which will return data that's printed on the webpages...
Thanks!
Remotely access database with PHP
Moderator: General Moderators
you'll have to have a user account set up on the database for your remote location.
ie:
ie:
Code: Select all
grant all privileges on db.* to bob@66.219.177.122.....