g***t 发帖数: 2278 | 1 比如我现在有一个PHP程序运行在Server A上,
用户从Server A上运行的这个程序Click到另外一个web site B上,
然后填写一些资料,Server A上的程序能够自动分析用户在另外一个web site B上的输
入,这样用户就避免在Server A上重新再填写一次。
貌似如果web site B有提供接口,这个问题就很好解决,比如Server A可以通过
facebook提供的接口获取用户在facebook上的数据,这样用户就不需要用户重新在
Server A上填写一遍资料了。
但是如果Web site B没有提供接口,有什么好的办法可以解决这个问题???
谢谢各位! |
a*******t 发帖数: 85 | 2 1) If website A and B are on the same physical server, you can configure
them to use the same database.
2) If website A and B are on different servers, You can use database
sycronization.
3) write a php program to rip the information off from A website.
【在 g***t 的大作中提到】 : 比如我现在有一个PHP程序运行在Server A上, : 用户从Server A上运行的这个程序Click到另外一个web site B上, : 然后填写一些资料,Server A上的程序能够自动分析用户在另外一个web site B上的输 : 入,这样用户就避免在Server A上重新再填写一次。 : 貌似如果web site B有提供接口,这个问题就很好解决,比如Server A可以通过 : facebook提供的接口获取用户在facebook上的数据,这样用户就不需要用户重新在 : Server A上填写一遍资料了。 : 但是如果Web site B没有提供接口,有什么好的办法可以解决这个问题??? : 谢谢各位!
|
w*****g 发帖数: 1415 | 3 Let A PHP program reads the database on B. |
m*****k 发帖数: 1864 | |
N**********d 发帖数: 9292 | 5 curl
【在 g***t 的大作中提到】 : 比如我现在有一个PHP程序运行在Server A上, : 用户从Server A上运行的这个程序Click到另外一个web site B上, : 然后填写一些资料,Server A上的程序能够自动分析用户在另外一个web site B上的输 : 入,这样用户就避免在Server A上重新再填写一次。 : 貌似如果web site B有提供接口,这个问题就很好解决,比如Server A可以通过 : facebook提供的接口获取用户在facebook上的数据,这样用户就不需要用户重新在 : Server A上填写一遍资料了。 : 但是如果Web site B没有提供接口,有什么好的办法可以解决这个问题??? : 谢谢各位!
|