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

curl-and-php

RE: HTTPS and cURL in PHP

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 6 Sep 2004 09:38:28 +0200 (CEST)

On Mon, 6 Sep 2004, Frank wrote:

> I did try to start the cookie parser as you mentioned and use the same
> handle to call the login page but I got same error.

My guide to successful login:

1. Use LiveHTTPHeaders with your browser and do eveything you want to do.

2. Use the curl command line tool and its --trace-ascii option to login.

3. Compare that the outputs from 1) and 2) are sufficiently similar. As long
as they differ and the site still complains you can continue mimicing the
browser even closer, using the output from 1) as a guide.

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