PHP Code Function to Get Random User Agent for CURL

PHP Full Function to Grab from Giant List of User Agents for use with PHP Curl

Home Short:

Simple function to grab a random user agent for use with the built in CURL php function. This function can be used inconjuction with the code to use CURL to fool web servers into thinking the request is coming from a web browser.

To use this function to get a random user agent in PHP is a simple ...

Much thanks to wdb24.com random user agent function for this function which we only modified the name of.

S
H
A
R
E