No Reply From cURL

From: Date: Thu, 21 Nov 2002 19:03:52 +0000
Subject: No Reply From cURL
Groups: php.general 
Request: Send a blank email to php-general+get-125464@lists.php.net to get a copy of this message
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_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,$postData); $result = curl_exec ($ch); curl_close($ch); echo $result; 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: './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-mysql=/usr/local/' '--with-gd=/usr/local/' '--with-freetype' '--with-imap' '--with-curl' 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? -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org

« previous php.general (#125464) next »