cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl and Invision Board

From: Shafeek P.S <shafeek_ps_at_yahoo.com>
Date: Fri, 16 Apr 2004 05:08:25 +0100 (BST)

Hi Coddy,

try using this.........

curl -d
"referer=http%3A%2F%www.site.com%2Fforums%2F&UserName=name&PassWord=pass&CookieDate=1"
 -e www.site.com/forums/index.php -b cookies.txt -c
cookies.txt -L
 www.site.com/forums/index.html

Thnx and Regrds,

Shafeek
 --- Cody Maggard <cody.maggard_at_ttu.edu> wrote: > I'm
trying to set cookies by using Curl to log in.
> It doesn't seem to be working right though. There's
> a few input fields:
> referer: http://www.site.com/forums/index.php/
> UserName: name
> PassWord: pass
> CookieDate: 1
>
> And here's the form tag data
> form
>
action=http://www.site.com/forums/index.php?act=Login&CODE=01
> method="post" name='LOGIN'
>
> I'm trying to use the following command line to
> store the cookies in cookie.txt
>
> curl -d
>
"referer=http%3A%2F%www.site.com%2Fforums%2F&UserName=name&PassWord=pass&CookieDate=1"
> -e www.site.com/forums/index.php -c cookies.txt -L
> www.site.com/forums/index.html
>
> Can anyone see what's wrong with this, or why it
> wouldn't be working?
>
> -Cody

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
Received on 2004-04-16