I apologize for being a pest about this, I'm just not getting it.
I'm attempting to open a connection to NetLedger to post an XML file. I'm
attempting this basic code, which is pretty much what I find everywhere:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://partners.netledger.com/SmbXml");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
$result = curl_exec ($ch);
And I'm getting no result back so I can't even see what error I'm getting.
I'm using PHP 4.2.3, with OpenSSL/0.9.5a and compiled as follows:
'--with-mysql=/usr/local/' '--with-gd=/usr/local/' '--with-freetype'
Also, how do I include a file in the postData? Can someone point me to a
good page about HTTP where I can read about doing that?
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
Email: [EMAIL PROTECTED]
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP] No Reply From cURL Steve Keller