Imran Naqvi
Imran Naqvi

Reputation: 2232

Browser instance controlling in PHP

is there any extension in php using which we load a browser instance like we do in desktop application cations.

Upvotes: 0

Views: 606

Answers (3)

GordonM
GordonM

Reputation: 31730

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.

Upvotes: 0

Sabeen Malik
Sabeen Malik

Reputation: 10880

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.

Upvotes: 1

Sarfraz
Sarfraz

Reputation: 382696

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

Upvotes: 1

Related Questions