Re: using PHP script to simulate a login
| From: | Alex Shi | Date: | Sat, 17 Jul 2004 00:38:22 +0000 |
| Subject: | Re: using PHP script to simulate a login | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190788@lists.php.net to get a copy of this message | ||
> On Fri, 16 Jul 2004 19:23:30 -0400, Alex Shi <chpshi@stonix.com> wrote:
> > Hi,
> >
> > We have a web interface to do following:
> > 1. login
> > 2. check phone number (maybe thousands of)
> > 3. logout.
> >
> > I am just wondering is it possible to use a php script to simulate
> > the three steps? I understand that after login the web server will
> > send a cookie to browser, so in that way a session can be kept
> > at the visiter's end in correspondance to the web server. However
> > I have no idea is it possible for a script to simulate browser's
> > session handling?
> >
>
> Yep.
> http://pear.php.net/package/HTTP_Client
>
Thanks!
I downloaded the package and all its required dependencies.
But I'm still wondering that is it required to install pear to run
all these packages? We have PHP 4.3.0 and PHP 4.3.2.
Thanks in advance!
Alex