Can servers block curl requests?

Many web servers want to block HTTP requests forged by something else than a browser, to prevent bots abuses. If you want to simulate/pretend your request from a browser, you at least have to: Pass the exact same headers than your browsers (use ie Firebug to get them) curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); Change the user agent … Read more