cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

Re: CURL and cookies

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 May 2006 10:27:12 +0200 (CEST)

On Tue, 30 May 2006, Amaury Willemant wrote:

> $_GET & $_POST are exactly the same in the two cases (I tested it with
> WinMerge) but only the HTML FORM works when I submit it. That's why I
> thought it was a cookie problem. If it is not a cookie problem, how the
> website "https://intrapril.april.fr" can do to reject me in the curl case ?

My advice:

1. record a "manual" session with LiveHTTPHeaders

2. repeat the operation in step 1 using the command line curl tool, make the
    requests as similar as possible to how the original ones from step 1 look.

3. When step 2 works, translate to PHP

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-05-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET