Tag: user agent

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: