[thelist] PHP to access password protected page

Simon Perry simon.perry at si-designs.co.uk
Thu Oct 16 06:50:23 CDT 2003


> Hello
>
> Is this possible via PHP scripting?

Not in PHP to my knowledge but it is relativley simple in Perl using a few
handy modules. If you are a reasonable PHP hack then you should find perl
simple enough.
LWP and HTML::Form should do it.

A good tutorial on the basics of LWP can be found here
http://www.perl.com/pub/a/2002/08/20/perlandlwp.html

Good luck

Simon

> 1. Send username / password to a web page (which is htaccess protected)
> 2. Insert some values into a form
> 3. Read the results after submitting.
>
> Can't find out how to google for it or where to look in the PHP docs...
>
> Thanks   :)
>
> Mike
>
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>



More information about the thelist mailing list