Forum Moderators: coopster

Message Too Old, No Replies

Permission Denied

Curl Problem

         

krakrazor

8:24 am on Feb 28, 2006 (gmt 0)

10+ Year Member



It seems like i can't get this thing to work! No matter what i put for the URL, it keeps saying:

"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);

philestine

12:07 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



proxy?

elgumbo

12:23 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



Does your host allow the use of Curl?