Change User Agent

Discussion in 'PHP & Perl' started by darkstar69, Jul 6, 2012.

  1. darkstar69

    darkstar69 Jr. VIP Jr. VIP

    Joined:
    Nov 15, 2008
    Messages:
    806
    Likes Received:
    880
    Occupation:
    Big Boss
    Location:
    On The Dark Side
     
  2. DevSwift

    DevSwift Newbie

    Joined:
    Jul 5, 2012
    Messages:
    6
    Likes Received:
    1
    Location:
    Raleigh, NC (USA)
    You can use cURL to grab the URL, then troggle the CURLOPT_USERAGENT option via curl_setopt function.