Browser instance controlling in PHP
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.
精彩评论