cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl and Invision Board

From: Cody Maggard <cody.maggard_at_ttu.edu>
Date: Thu, 15 Apr 2004 20:36:04 -0500

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
Received on 2004-04-16