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

curl-and-php

[Snoopy]:How to make it work with https.

From: Fluteau Jerome ICM N PG U PLM A 2 <Jerome.Fluteau_at_icn.siemens.de>
Date: Fri, 11 Oct 2002 19:38:57 +0200

Hi all,

I just discovered a PHP class called Snoopy which could be very helpful for
me.
I'd like to use it , notably to post an username and a password on a secured
jsp page, and get the result from the servlet.
I tried it with http and it worked well, but as soon as I tried with an
https web site it failed:error fetching document.
I used cURL from the command line and I get the html code from the https Web
page. So cURL and OpenSSl are well installed.
In the Snoopy.class.inc file, I defined my $curl_path="C:\curl", the
$port=443 and my host.
Unfortunately, it still doesn't work, I certainly forgot something to do. If
someone has already succeeded in getting
Snoopy work with https, please let me know.

Maybe cURL is well enough to do this kind of work?

Thanks for your help.

Jerome.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-11