nadavvin Posted April 26, 2007 Share Posted April 26, 2007 Is curl can pretend to real browser when it get content and how set the browser that it pretend to? Quote Link to comment Share on other sites More sharing options...
btherl Posted April 26, 2007 Share Posted April 26, 2007 Use this: curl_setopt($ua, CURLOPT_USERAGENT, 'Mozilla 0.0.1 Apple ][e 8-bit'); If you wanted to spoof an Apple II browser, for example. Quote Link to comment Share on other sites More sharing options...
nadavvin Posted April 26, 2007 Author Share Posted April 26, 2007 thanks. What do I write for firefox? Can I check what my browser send to copy there? Is there php function that return this string of the user browser? Quote Link to comment Share on other sites More sharing options...
Wildbug Posted April 26, 2007 Share Posted April 26, 2007 http://www.google.com/ user agent strings Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.