Setting user agent in curl using php
Read

Setting user agent in curl using php

Setting user agent in curl using php PHP curl library gives you an option to change the user agent. All you need to do is to add the following line of code to the other set of curl options: curl_setopt($ch, CURLOPT_USERAGENT, Mozilla/5. 0 (Windows; U;... More

Read the publication