Here’s a simple example of using the cURL program through PHP’s client URL library. It’s a really powerful way to use HTTP, because you can set just about every HTTP option using the library.
[include file="../../code/php/curlScraper.php" clean="true"]