Re: using PHP script to simulate a login
| From: | Justin Patrin | Date: | Fri, 16 Jul 2004 23:38:16 +0000 |
| Subject: | Re: using PHP script to simulate a login | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190782@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
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--