Yes. However, it will have to be done with client-side scripting such as JavaScript since PHP runs on the server and has absolutely no access to client's browser. Please ask the question in JavaScript forum. Also note that it will not work with people who have JS disabled or certain pop-up blocker software installed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.