Browser Emulation via CURL in PHP
The following command forces
CURL to emulate a browser
by sending the User-Agent header:
<?php
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
?>
When accessing a certain site, perform browser emulation.