[prev in list] [next in list] [prev in thread] [next in thread] 

List:       curl-and-php
Subject:    Re: cURL and cookies
From:       Daniel Stenberg <daniel () haxx ! se>
Date:       2002-09-05 7:11:09
[Download RAW message or body]

On Wed, 4 Sep 2002, Jeff Schwartz wrote:

> I'm trying to use cURL to log into a site, get the cookies then use those
> cookies as I move through the site.
>
> I'm receiving the cookies in a file but either they're not being sent when
> the script goes to the next page or they need to be formatted differently.
>
> Has anyone done this already?

curl has a full cookie parser and "engine" built-in. You just need to make
sure you use it.

There's one example of cookiejar usage here:

	http://curl.haxx.se/libcurl/php/examples/?ex=cookiejar.php

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic