Answers for "php curl set user agent"

PHP
0

user-agent cURL php

$config['useragent'] = 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0';

curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);
curl_setopt($curl, CURLOPT_REFERER, 'https://www.domain.com/');
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language