Hi all,
The curl connection is returning the #7 error number.
I think its because my offices use a proxy so it might be blocking the connection somehow.
do you have any idea how i can fix this.
I did try adding this code below the $ch = curl_init(); line of the call method.
curl_setopt($ch, CURLOPT_TIMEOUT, self::CURL_TIMEOUT);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt($ch, CURLOPT_PROXY, "proxy_address");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_URL, "my network address");
Any help is appreciated thanks in advance.
Tags:
Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments 3 Likes
Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments 1 Like
Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment 1 Like
© 2024 Created by Build Team. Powered by