How to open a URL using PHP?

I want something similar like JavSacript’s window.open() method, which I can use to open a particular URL, for example, https://www.google.com/.

Is there a way in pure PHP where I can do the same thing?

I know we can do that using selenium in python. I think guzzle might be of some help but I can not find anything useful on the web on that. Thanks in advance.

Leave a Comment