PHP: Dancing with the cURL

HTTP Authentication with cURL in the event I’m overdrawn at the memory bank.

$ch = curl_init();
$url = "http://myurl.com/plah.php?foo=value";
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_USERPWD, "user:pass");
curl_exec ($ch);
curl_close ($ch);