| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Doubts with curl- https
From: Indukala <p.indu_at_kfic-kw.com>
Date: Mon, 21 May 2007 08:15:30 +0300
Hi,
I use curl to fetch an XML from a very secure network. The code I use is
<?php
$ch = curl_init();
$str= "http://php.net";
curl_setopt($ch, CURLOPT_URL, $str);
$test = curl_exec($ch);
echo $test;
curl_close($ch);
?>
This works perfectly fine and when I change the $str to the secure URl
<?php
$ch = curl_init();
$str= "https://xyz.com?xml=loginxml";
curl_setopt($ch, CURLOPT_URL, $str);
$test = curl_exec($ch);
echo $test;
curl_close($ch);
?>
The machine were I run this and also the requesting URL have firewalls.
I'm stuck up with these issues for a long time. Pls help
Best Regards,
Indukala.P
Senior Programmer, Web Development
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info