On Fri, 16 Jul 2004 20:38:22 -0400, Alex Shi <[EMAIL PROTECTED]> wrote: > > On Fri, 16 Jul 2004 19:23:30 -0400, Alex Shi <[EMAIL PROTECTED]> 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! >
Well, PEAR is generally installed with PHP. Try running: pear install HTTP_Client on the command-line. Also: pear upgrade-all You don't *have* to "install" PEAR, you can just put everything in the right directories manually. I do that at work. It's a pain.... -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php