cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: php and libcurl question

From: John Wards <j.wards_at_sportnetwork.net>
Date: Sun, 19 Sep 2004 08:50:03 +0100

Quoting Simon Orsborn <simon_at_ultramedia.com.au>:
> $ch = curl_init();
>
>
curl_setopt($ch,CURLOPT_URL,"https://4tknox.au.com/cgi-bin/themerchant.au.com/ecom/external2.pl?LOGIN=123/abcdefghijklmnop&AMOUNT=1231&CCNUM=4111111111111111&CCEXP=12/34&COMMENT=24");
>
//curl_setopt($ch,CURLOPT_URL,"https://www.netregistry.com?LOGIN=123/abcdefghijklmnop&AMOUNT=1231&CCNUM=4111111111111111&CCEXP=12/34&COMMENT=24");
> curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
>
> $result=curl_exec ($ch);
> curl_close ($ch);
> print $result;
>

Never done this so this is guess work from reading stuff on my travels.

I am sure you need to do something different when you are connectiing using
https.

Have a search thru the archives for posts about https I am sure it will be in
there.

Cheers
John

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Received on 2004-09-19