11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 14• AUTHENTICATING YOUR USERSwww.it-ebooks.info?>// Display the new passwordecho "Your password has been reset to {$pswd}.";Of course, this is only one of many recovery mechanisms. For example, you could use a similarscript to provide the user with a form for resetting his own password.SummaryThis chapter introduced <strong>PHP</strong>’s authentication capabilities, features that are practically guaranteed to beincorporated into many of your future applications. In addition to discussing the basic conceptssurrounding this functionality, several common authentication methodologies were investigated.Decreasing password guessability by using <strong>PHP</strong>’s CrackLib extension was also examined. Finally, thischapter offered a discussion of recovering passwords using one-time URLs.The next chapter discusses another popular <strong>PHP</strong> feature—handling file uploads via the browser.318

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!