i got a method but how in php now?

From: Date: Sun, 22 Sep 2002 15:48:33 +0000
Subject: i got a method but how in php now?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117175@lists.php.net to get a copy of this message
i can do what i need on a command line with curl. but how would i do it in php & curl? this is my curl commands curl -D hc -d "login=xxxxxx&password=xxxxxx&TYPE=login" http://someserver.com/script/ curl -b hc -d "sendmsg=1&min=xxxxxxxx&message=test" http://someserver.com/msgscript/ so really want i need is how do i specify with curl in php HOW TO RECORD cookies? and then how to RELAY them back.. cheers. ":B Nerdy" <thoa0025@mail.usyd.edu.au> wrote in message news:20020922145734.22714.qmail@pb1.pair.com... > i wish to POST submit to a login form on another server and then after that > POST some more information on the resulting page. > > the thing is, after the first login, the website sends me a cookie. it > probably holds the session id and or authentication information. how will > can i relay this back to the page so i can view the resulting page without > being kicked out because of no cookie?? > > ive already used curl and am able to post things to scripts. but this cookie > problem i dont know how to get around. > > any idea? > cheers > > >

« previous php.general (#117175) next »