Re: PHP and .htaccess
| From: | Michael J. Seely | Date: | Fri, 30 Mar 2001 00:59:33 +0000 |
| Subject: | Re: PHP and .htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46204@lists.php.net to get a copy of this message | ||
HI
I have a directory that works like this.
The owner of each listing in the directory clicks on a little box that appears before their name and info in the directory.
An Enter User Name and Password page is shown ( a simple form, can look as you like)
The imbedded listing number is used to find their data record. The input user name and password is compared to the saved versions - if they match, an edit form is opened. If not, "Try again".
It works well. No magic.
p.s. the test looks for a match of a 'master' user name and password first. If this is used, the refresh shows the related specific user name and password in the input boxes. This provide an easy look-up function.
Hi all, We're all familiar with the skanky little box the web browser pops up to get your username/password in response to a 401 from the web server. What I want is the same functionality, except through a login web page instead. I know how cookie-based or session-based logging in works with PHP, but I would actually prefer (since it's more general) an HTML-only solution if there is one. Or maybe there's something I can do to configure the server (Apache) to redirect to a login page if a 401 is generated. Anyt thoughts? Help would be much appreciated. ............................................................................ Les Neste 678-778-0382 http://www.lesneste.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- >'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'>'> Michael Seely mseely@cimworld.com 408-777-9949