Send me your raspberries now, I went for the alliteration in the title. It really should have been DeMystifying Password Hashing with PHP but I was in a funky mood when I started writing. The goal of this article is to show you how to properly use PHP's password_hash() and password_verify() functions while gaining an understanding of how they work. We'll combine the code used here with a PDO function created in a previous post, Demystifying PHP's Data Objects (PDO), to make our coding simpler and to avoid distraction. In addition we're not going to limit our user's passwords (it is a bad idea).
After watching Battlestar Galactica and some of Battlestar Galactica TOS I decided I wanted to build a Viper which would bridge the gap between the Mk I and the Mk II without making major changes to a Mk I. The single most noticeable difference between the two ships was the presence of reaction control thrusters. I chose Lt. Sheba's Viper to begin the experimental modifications.
Admit it. As a developer we have done more to contribute to the failure of our customer's and user's online security because we are too stubborn or lazy to handle passwords properly. Just look at some of the fruit of our labor:
If you have been lurking around the PHP tag on StackOverflow or hanging out on the PHP-General mailing list you have no doubt seen the following, probably more than once:
Given my wide array of interests and hobbies combined with a desire to write more I have decided to expand a little and start writing about those subjects.
Perhaps once in a while I'll throw in just some life observations or explain my #HigginsForADay extremely miniature campaign on Twitter. (You're not following me on Twitter? You've got nothing to lose unless you're near your limit on folks you can follow.) Maybe next I'll go extremely detailed on setting up a Phone Gap application that will use BlueTooth to communicate with an Arduino device that is on-board of a 1/350th model of the Enterprise A that will be hanging in my office. You might see woodworking projects, disc golf outings, plastic model builds or whatever I'm thinking about at the moment.
I hope the articles/posts (coming soon to a blank space on the right side of the page) will be interesting and sometimes even informative. I look forward to seeing you here.
Here is the code download for the new jQuery & jQuery Visual Quickstart Guide. If you have any issues, drop me a line and we'll get it sorted out! Thanks!
contributing author, technical editor
Covering the latest version of the jQuery Mobile Framework, jQuery Mobile: Develop and Design teaches readers step-by-step how to get started, how to write code, and ultimately how to create mobile websites using the jQuery Mobile framework. The book is hands-on, with code examples (with corresponding on-line demos) and activities throughout.
My first book, Applied jQuery, teaches readers how to quickly start creating interactive widgets. The beautifully designed book offers practical techniques and provides lots of real-world advice and guidance on using jQuery in your web sites and web applications. It is a must read for beginning web developers!
Top 10 jQuery Tips for Novices (PeachPit)
Manipulating DOM Elements in jQuery - excerpt from jQuery & jQuery UI Visual Quickstart Guide
Getting the Most out of jQuery Selectors (NetMag - Creative Bloq)
A jQuery Reading List (PeachPit)
Tripping the DOM Fantastic with jQuery (NetMag - Creative Bloq)
AJAX-like File Uploads with jQuery (PeachPit)
Being Effective with AJAX - excerpt from Applied jQuery
Using MySQL & PHP to Present Excel Spreadsheets (Evolt)
I'm quoted in the following articles on jQuery:
Dad. Developer, designer, freelancer, author, jQuery Developer Relations team, startup creator, musician, photographer, woodworker, model builder, pixel herder.