Date: 10/05/01
- Next message: _lallous: "Re: [PHP] Downloading Images"
- Previous message: Rasmus Lerdorf: "Re: [PHP] ereg checking if its only numbers"
- In reply to: Richard Lynch: "[PHP] Re: How can I simulate the login process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
what if they were session variables...how can i fake that out?
can you plz give me an example on how to make a header with cookies before
requesting a page?
"Richard Lynch" <ceo <email protected>> wrote in message
news:046401c14d62$917ce620$c801a8c0 <email protected>
> 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 <email protected> address is an endangered species -- Use
> ceo <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 <elias_bachaalany <email protected>>
> Newsgroups: php.general
> To: <php-general <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: _lallous: "Re: [PHP] Downloading Images"
- Previous message: Rasmus Lerdorf: "Re: [PHP] ereg checking if its only numbers"
- In reply to: Richard Lynch: "[PHP] Re: How can I simulate the login process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

