| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
HTTPS, CURL Binary/CURL PHP Functions
From: Samantha Savvakis <samantha_at_cfs.net.au>
Date: Wed, 15 Aug 2001 13:48:19 +1000
Hi,
Version details:
curl --version
I'm posting XML data to a HTTPS site. I took an example from the PHPBuilder
#!/usr/local/bin/php -q
$URL="https://someurl/page.asp";
exec("/usr/local/bin/curl -m 120 -d \"$strLogonXML\"
for ($i = 0; $i < count($returnarray); $i++)
This works well. I receive XML back from the HTTPS site as expected.
So I decided to try to PHP Curl functions:
#!/usr/local/bin/php
$URL="https://someurl/page.asp";
$csess = curl_init();
$result = curl_exec($csess);
echo("Result = $result\n");
All the options I have set using curl_setopt are the equivalent options that
Is there something I'm missing using the PHP functions?
Thanks,
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info