|
|
|
Credit goes to Rasmus:
Force everything in the directory to be of type
application/x-httpd-php3 and then prepend an authentication script
automatically. In your Apache .conf file, use something like:
<Directory /path>
ForceType application/x-httpd-php3
php3_auto_prepend_file /some_path/auth.inc
</Directory>
One caveat: There must be an index file in the directory.
It can be an empty file. |
|
| Using $PHP_AUTH_USER and $PHP_AUTH_PW to authenticate. Categories : Authentication, PHP | | | Basic Authentication with sessions Categories : PHP, Beginner Guides, Authentication, Form Processing, Sessions | | | Simple Password example Categories : PHP, Authentication, Security, HTTP | | | PHP Function to Encrypt/Decrypt a string without a known key. The string itself has his own different key for every character. Categories : PHP, Algorithms, Security, Authentication, Encryption | | | Complete, simple working example of login screen and check on a unique page using php functions, cookies and mysql database. Categories : PHP, Cookies, MySQL, HTML and PHP, Authentication | | | Function to remember password Categories : PHP, Authentication, Personalization and Membership | | | PHP4 MYSQL Authentication Script with cookie. Short & Sweet
Categories : Authentication, Apache, Cookies, PHP, MySQL | | | Authorize Me! An authentication script. Categories : MySQL, Databases, Authentication, PHP | | | Import the yahoo address book. Categories : PHP, CURL, Authentication | | | Authentication script to authenticate users in Active Directory through LDAP. Categories : LDAP, Authentication, Cookies, PHP | | | MD5 secured login Categories : PHP, Java Script, Authentication, Security | | | PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers | | | Simple and fast user authentication Categories : PHP, PHP Classes, Authentication | | | gpg encryption. 99% of it will apply to PGP.
Categories : Credit Cards, Authentication, Ecommerce, Misc | | | How to check that the encrypted password in the database is what the
user enters? Used to verify mod_auth_mysql encrypted passwords. Categories : MySQL, Databases, Authentication | |
|
|
|