Re: How can I simulate the login process?

From: Date: Fri, 05 Oct 2001 05:13:05 +0000
Subject: Re: How can I simulate the login process?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70026@lists.php.net to get a copy of this message
You have to http://php.net/fopen (or http://php.net/curl for SSL page) the login page, get the headers, snarf out the cookies or whatever, generate the appropriate cookie headers to send back on the next page (and every page thereafter). Your goal is to "fake out" the web server into thinking you're really a web-browser. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: _lallous <elias_bachaalany@yahoo.com> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Thursday, October 04, 2001 4:48 AM Subject: How can I simulate the login process? > I want to write a script that simulates the login process and logs on and > grabs some pages (that can only be viewed when logged in) and the logs > out... > how can i do that? > > consider the authentication system is done via session variables method... > > any ideas would help. > >

« previous php.general (#70026) next »