开发者

Browser instance controlling in PHP

开发者 https://www.devze.com 2023-01-20 14:07 出处:网络
is there any extension 开发者_JAVA百科in php using which we load a browser instance like we do in desktop application cations.If you are looking for ways to go to a website and act like a valid user f

is there any extension 开发者_JAVA百科in php using which we load a browser instance like we do in desktop application cations.


If you are looking for ways to go to a website and act like a valid user from PHP, then you are probably looking for cURL http://php.net/manual/en/book.curl.php

Otherwise you need to understand that PHP runs on the server and renders HTML, which is sent to the clients browser, so it can not directly control anything that happens on the client side.


Nope, that's not possible; it is up to user/visitor to open and close browser instances.


PHP is server side, it can't do anything to control what the client is doing other than basic things like redirecting or setting headers.

0

精彩评论

暂无评论...
验证码 换一张
取 消