News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebReference.com:
Using PHP Encryption for Login Authentication
June 04, 2010 @ 08:50:10

New on WebReference.com there's a follow up article that talks about using encryption built into PHP to handle login information and authentication.

Following up on "Implementing One-way Encryption in PHP," my previous tutorial about using one-way encryption to build a secure online diary application, this article explores using PHP encryption for login authentication. It presents the two scripts that make up the diary application: the login and diary scripts, as well as the necessary database server connection script.

His script example shows how to use the md5 hashing function to compare passwords with the ones in the database as well as a modification that uses the mcrypt libraries to encrypt some sample text.

0 comments voice your opinion now!
login authenication mcrypt md5 tutorial


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Create a Dynamic Username Validator with PHP, MySQL and jQuery

Srdjan Vranac's Blog: Custom Repository with DIC in Symfony2

SitePoint PHP Blog: PHP and Continuous Integration with Travis CI

PHPHacks.com: Shell Scripting with PHP CLI

Developer Tutorials: Introduction to PHP Programming


Community Events

Don't see your event here?
Let us know!


interview php7 list composer api language laravel community opinion introduction part2 example symfony application framework project programming yii2 podcast series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework