Re: cURL library and auto-loggin to a site

From: Date: Fri, 23 Feb 2001 22:41:04 +0000
Subject: Re: cURL library and auto-loggin to a site
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41395@lists.php.net to get a copy of this message
> Does anyone know if it is possible to use PHP and cURL to auto-login into a > site (which sets a cookie) and then fill in a form to send an sms message? > I need to do this to test a site automatically and check response times for > sending the SMS. I have no idea what SMS is. You *can* probably use PHP and cURL to send and receive the appropriate data to initiate and continue a cookie session to fake out the server and fill out the form. You just might have to work at it a bit. Tip: Set up a page that works the way you think their page works, and then use <?php phpinfo();?> in it to figure out what a "normal" browser sends to a server that's doing what you think they are doing. Send exactly the same stuff to their server that worked on your server, and see what happens. If you work hard enough at it, there is *no* *way* they can detect that your program is not a human. -- Visit the Zend Store at http://www.zend.com/store/ 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

« previous php.general (#41395) next »