Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
cURL submission help - Urgent
Old 09-04-2007, 02:38 AM cURL submission help - Urgent
Experienced Talker

Posts: 34
Name: DesignersForHire
Location: India
Trades: 0
Hi,

I am facing an error while using cURL.

$webservice_url = "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml";

curl_setopt( $ch, CURLOPT_URL, $webservice_url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt( $ch, CURLOPT_TIMEOUT,15);
curl_setopt( $ch, CURLOPT_PORT, 80);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

We are working from an intranet that is behind a firewall.

we tried using the proxy that is used in our intranet

curl_setopt($ch, CURLOPT_PROXY, '192.168.21.5:80');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'webuser***');

but still it is saying
7, couldn't connect to host

Any help would be greatly appreciated.
__________________
Joseph

Please login or register to view this content. Registration is FREE
michael_1980 is offline
Reply With Quote
View Public Profile Visit michael_1980's homepage!
 
 
Register now for full access!
Old 09-04-2007, 03:30 AM Re: cURL submission help - Urgent
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
Is this a windows box? probably a curl bug.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 09-04-2007, 04:52 AM Re: cURL submission help - Urgent
Experienced Talker

Posts: 34
Name: DesignersForHire
Location: India
Trades: 0
But it is working fine from a machine outside our intranet.It is showing issues in the office network.Any more good helps????
__________________
Joseph

Please login or register to view this content. Registration is FREE
michael_1980 is offline
Reply With Quote
View Public Profile Visit michael_1980's homepage!
 
Reply     « Reply to cURL submission help - Urgent
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24763 seconds with 12 queries