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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php