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

curl-and-php

Re: PHP.cURL adn transaction processing?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 22 Dec 2004 10:30:51 +0100 (CET)

On Wed, 22 Dec 2004, Nikolaj Popovic wrote:

> " First thing you should do is to check connectivity with our server using
> cURL, like:
>
> curl --cert test_pem.crt --key test.key --cacert ca.pem
> https://somegetway.company.com "
>
> A question is: How can I check connectivity with their server?

Using that command line, I guess he means that if it returns HTML fine, you
have "connectivity".

> Do I need to write a PHP script that can check the connectivity?

Don't ask us. That's your job to find out.

> Could you give me some example of this - php script that checks this
> connectivity?

Read the docs and convert that command line to curl-functions instead.
Shouldn't be hard. Ask here if you get stuck.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-22