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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
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.
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to