How does this website invoke the dynamic content of another website ~
The same space is equipped with two programs, is a different domain name, how can be on another site to invoke the content of this member display AH ~ ~
Share to:
------Solution--------------------
If these programs provide APIs, then the best way to do this is to call them by API, which is also the safest
If not, you can simulate access to get the data
Also, these programs are yours, then the database is yours, you can directly access the database Ah!
------Solution--------------------
Post past yes. This is the same as the Web interface.
------Solution--------------------
You have a database, if you can access the database remotely, then directly access the database is good
Or curl to get it.
------Solution--------------------
If you do not directly access the database, it is troublesome, which involves data synchronization, synchronization login registration, member data synchronization, data synchronization to write a set of API program. The API is mainly implemented by socket communication, and PHP simplifies socket communication by using curl and fsocket.
------Solution--------------------
Writing WebService is not the case.
------Solution--------------------
1) IFRAME
2) 3) PHP Remote download access