WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Is there some possibility to link a database to an htaccess file, so that instead of having a passwd file you would have a database with DES-crypted password and username fields?
Categories : Authentication, PHP, General SQL, Databases Update Picture
Rasmus Lerdorf
Date : Oct 10th 1998
Grade : 3 of 5 (graded 4 times)
Viewed : 13130
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Rasmus Lerdorf
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

Why use a .htaccess file at all if you want to store the stuff in a
database? PHP can perform this authentication for you easily without the
need for inefficient .htaccess files. See:

http://www.php.net/manual/features.php3

You could also use something like mod_auth_mysql for Apache or one of the
many other authentication modules available to do this outside of PHP.



explode() and SQL blobs
Categories : General SQL, Strings, PHP, Databases
I`d like to use the mysql_fetch_row function along with a "randomizer" function that would give me a random result from a mySQL table.
Categories : General SQL, MySQL, PHP, Databases
google like search function with bolded search terms
Categories : PHP, Search, Databases, General SQL
Authorize Me! An authentication script.
Categories : MySQL, Databases, Authentication, PHP
Multiple Search using PHP and Mysql
Categories : PHP, Databases, General SQL, MySQL
user-authentication with php3 and msql
Categories : Authentication, mSQL, PHP, Databases
SQL / PHP based Integrated Authentication
Categories : PHP, Authentication, Databases, MySQL
This program allows you to upload an ODBC ressource - i.e. an MS-Access database to a MySQL server.
Categories : Databases, MySQL, Complete Programs, PHP, Databases
Dynamic WHERE CLAUSE depending on number of FORM FIELDS
Categories : ODBC, General SQL, PHP, Complete Programs, Databases
Implementing a Members ONLY area
Categories : PHP, MySQL, Databases, Authentication
This is a class with functions that are taken from simple SQL statements. I made it to have an easier connection between PHP3 and DBase files.
Categories : General SQL, PHP, PHP Classes, Databases
AUTH (.htaccess style) - a login system that uses PostgreSQL.
Categories : PHP, Authentication, Databases, PostgreSQL
Sql Builder
Categories : PHP, HTML and PHP, Databases, General SQL, Form Processing
PHP4 AND MySQL Authentication
Categories : PHP, MySQL, Authentication, Databases
Point and Click Interface ala MS Access for creating SQL statements.
Categories : MySQL, Complete Programs, General SQL, PHP, Databases
 Tiger Taylor wrote :197
Why not use libcrypt and use the new Twofish or similair
encryption algorithms?  One could easily write some
authentication routines that store and retrieve username,
password, etc.. in SQL using any encryption algorithm you
wanted.  One could also simply use md5 with uniqid to create
an MD5 hash of a password and store it (ex: PHP-lib does
this).

Refer to http://www.php.net/manual under the section labeled
encryption for explanation of how to use libcrypt routines.