Forum Moderators: coopster
"7, Failed to connect to 66.254.69.44: Permission denied"
curl_setopt($ch, CURLOPT_USERAGENT, "RBot/0.1 (+http://www.xyz.com)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$url = "http://www.xyz.com/about-us.php";
curl_setopt($ch, CURLOPT_URL, $url);
$input = curl_exec($ch);
if (curl_errno($ch)) {
echo curl_errno($ch) . ' ';
print curl_error($ch);
} else {
curl_close($ch);