G'day again,

hunter said:
> what do you mean, arbitrary? Yes, miva can connect to SSL pages and
> sites, thats how its transactional piece works, and is actually
> required. In fact as i recall, you have to have an SSL certificate in
> order to complete the install/configuration/setup for a virtual(ly)
> hosted site.

Sorry, I should've been clearer.

The client's site has been developed using "typical" PHP (only requiring GD,
MySQL and cURL).  But, the hosting company chosen by the client doesn't
include cURL support.

The only page in the site that establishes an outgoing link is the "payment"
page - which needs to create a single secure HTTP link to one of the payment
gateway's servers.

So, I guess my question is, how can I replicate the functionality of...

        $link = curl_init ("https://<gateway-srvr/....");
        curl_setopt ($link, CURLOPT_FOLLOWLOCATION, 1);
        curl_setopt ($link, CURLOPT_POST, 1);
        curl_setopt ($link, CURLOPT_POSTFIELDS, "....");
        curl_setopt ($link, CURLOPT_RETURNTRANSFER, 1);
        $res = curl_exec ($link);
        curl_close ($link);

As you can probably guessed, I've never done any work with Miva before.  Any
help would be much appreciated.

Ciao.

-- 
-------------------------------------------------------+---------------------
Daniel Baldoni BAppSc, PGradDipCompSci                 |  Technical Director
require 'std/disclaimer.pl'                            |  LcdS Pty. Ltd.
-------------------------------------------------------+  856B Canning Hwy
Phone/FAX:  +61-8-9364-8171                            |  Applecross
Mobile:     041-888-9794                               |  WA 6153
URL:        http://www.lcds.com.au/                    |  Australia
-------------------------------------------------------+---------------------
"Any time there's something so ridiculous that no rational systems programmer
 would even consider trying it, they send for me."; paraphrased from "King Of
 The Murgos" by David Eddings.  (I'm not good, just crazy)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to