Re: How can I simulate the login process?
| From: | _lallous | Date: | Fri, 05 Oct 2001 07:59:53 +0000 |
| Subject: | Re: How can I simulate the login process? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70039@lists.php.net to get a copy of this message | ||
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@l-i-e.com> wrote in message
news:046401c14d62$917ce620$c801a8c0@Lynchux100...
> 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.
> >
> >
>