php-phantomjs
php-phantomjs copied to clipboard
How can i send get request with proxy?
Hi, I want to send get request with a proxy, how can i do it?
Just add option:
$client->getEngine()->addOption("--proxy=123.123.123.123");
And if you need to specify a login and password? and the port? how to write?