set_user_agent
set_user_agent($agent_string,$refresh=true); - set the user-agent string (browser ID)
the input Function accepts parameters:
$agent_string – new user agent$refresh – whether to refresh the page (true) or not (false) after setting a new user agent
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed