If the directory is being protected by the Apache Web Server, your users 
could elect to have their user name and password saved to their 
browser.  Thereafter, when presented with the Apache authentication 
dialog,  their user name and password will be automatically supplied by 
the browser and they only need submit it.

If your php application requires authentication, it can be written so a 
permanent cookie is stored on the Apache Web server, which can be read 
by the PHP application to welcome a returning visitor to your 
application.  In perl there is a class, (eg module) named CGI::Session 
that can handle all this pretty easily.  Perhaps PHP has something similar:

http://www.smvfp.com/manual/howto/auth.html

http://search.cpan.org/~markstos/CGI-Session-4.20/lib/CGI/Session.pm

Regards,

LelandJ





Graham Brown (CompSYS) wrote:
> Hi all
>
> I have a few websites hosted on nix servers which have private folders so in
> the online control panel they are set to require password.
> When someone attempts to go to this folder in a browser they get a standard
> windows login dialog.
>
> Does anyone know how to retrieve the user name (and password) they used to
> login to the folder either with PHP/Perl?  I want to basically have "Welcome
> back..." then the persons name.
>
>
> Graham Brown
> CompSYS Software Solutions
> M:07973 988939
> E:[EMAIL PROTECTED]
>
> BNI Member. The Business Referral Organisation
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to