Skip to Main Content
PHP for Absolute Beginners
book

PHP for Absolute Beginners

by Thomas Blom Hansen, Jason Lengstorf
August 2014
Beginner content levelBeginner
256 pages
6h 48m
English
Apress
Content preview from PHP for Absolute Beginners

CHAPTER 12

image

Password Protection

One of the last things you need to do before you can call your blog “web-ready” is to hide the administration module from users who aren’t authorized to see it. In this chapter, you’ll learn how to build a system that lets you create new administrators and require administrators to log in with a password before they can create, edit, and delete entries on the blog. Creating this system requires that you perform the following tasks:

  • Create an admin table in the simple_blog database
  • Use one-way encryption of passwords
  • Create an HTML form for creating new administrators
  • Insert one or more administrators into the admin ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP and MySQL® Web Development, Fourth Edition

PHP and MySQL® Web Development, Fourth Edition

Luke Welling, Laura Thomson

Publisher Resources

ISBN: 9781430268147Purchase book