哪位老大知道如何用php启动ie浏览器

WBOY
Release: 2016-06-13 13:16:40
Original
1079 people have browsed it

哪位老大知道怎么用php启动ie浏览器?
我想在客户请求服务器端请求时,在服务器端通过php页面,启动服务器端的ie浏览器

我现在用的方法,是php启动一个小的C语言写的exe,在这个小的启动程序里,使用creatprocess,启动ie

这样做,可以启动ie,在进程管理里可以看到ie进程,但是,客户端的页面一直在等待,直到我把ie进程结束,才返回数据给客户端

ie进程虽然启动了,但是不执行,也没窗口

哪位老大有什么解决办法吗?多谢!

------解决方案--------------------

C/C++ code

CreateProcess(
"C:\\Program   Files\\Internet   Explorer\\IEXPLORE.EXE ",
"   http://www.baidu.com ",   //注意这里的链接前面要加一个空格试一下
NULL,  
NULL,
FALSE,  
0,
NULL,  
NULL,  
&si,  
&pInfo);

------解决方案--------------------
页面跳转了,但是也是相关内容,我看了下,和你的问题不太一样的
他直接这样pclose(popen('start notepad.exe', 'r'));了
你是C开进程的CreateProcess,未成功,很有可能是EXE问题,先看能运行不


------解决方案--------------------
在服务器启动浏览器的目的是什么,你先告诉我.
Copy after login
Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!