Home > Backend Development > PHP Tutorial > 请问如何在执行一个php程序的同时,在后台执行另一个网站的php程序

请问如何在执行一个php程序的同时,在后台执行另一个网站的php程序

WBOY
Release: 2016-06-23 14:06:12
Original
990 people have browsed it

请问如何在执行一个php程序的同时,在后台执行另一个网站的php程序。
我在A网站注册完一个会员后,想实现B网站也同时向会员表插入这条数据(get方式传username和password),
请问A网站的注册程序执行的时候,如何在后台系统自己执行B网站的注册程序?


回复讨论(解决方案)

echo "<script>document.write('<iframe id=\"transFrame\" src=\"http://www.xxx.com/reg.php\" frameBorder=\"0\" width=\"0\" height=\"0\">');</script>";

我这么写的不知道对不对

fopen  file_get_content 应该都可以

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template