What is the transmission speed of php remote database reading? I have some pages to be mounted to other websites, and then I want to read data from my database to those pages. Will it be slow to read data through mysql_connect? Will there be a big problem? Because we need to purchase products on those pages and then jump to our background to make payments ···
Ask for the insights of Masters ···
Reply to discussion (solution)
Test it.
This is basically not recommended. let him host the server in your IDC of the same CIDR block. make the server an intranet data, and then the two front ends read the intranet data server data.
To someone else's website, and then read data from my database
Remote operations must be slower.
The problem is that the remote operation requires the permission to expose all your data to the other party.
This should not be what you want, because there areOur back-end payment
To someone else's website, and then read data from my database
Remote operations must be slower.
The problem is that the remote operation requires the permission to expose all your data to the other party.
This should not be what you want, because we still have to pay in the background.
Hello ··
In this case, we have a shopping backend, but the front-end wants to put it on a cooperative website (maybe there are multiple websites ), then, on the cooperation website, there are some separate pages dedicated to the products on our website, and click "buy" to jump to our place to pay for the deal.
Do you think this idea is practical? Is security very difficult?
Reference the reply from xuzuning on the third floor: mount it to someone else's website and then read data from my database
Remote operations must be slower.
The problem is that the remote operation requires the permission to expose all your data to the other party.
This should not be what you want, because we still have to pay in the background.
Hello ··
In this case, we have a shopping backend, but the front-end wants to put it on a cooperative website (maybe there are multiple websites ), then there are some separate pages on the cooperation website dedicated to our network ...... If someone else's website is used to hook up their own things and just make a link, there is actually nothing. if it involves payment or something, please be careful.
I understand what you mean. you want to show the products on your platform to other merchant websites. In fact, you do not need to open the mysql permission, because it is not safe for others to have the database permission.
You can take a look at other data interactions, such as xml or webserver. you provide them with such an interface, which is much better than you directly grant them database operation permissions.
If it is not the same data center and the same switch, the speed is very slow. The best way is to make an API interface for the other party to call