Join Kevin Skoglund for an in-depth discussion in this video Using the exercise files, part of Easy PHP Projects: Password Utilities.
- Some users will have access to the exercise files that are used throughout this title. The exercise files, arranged by chapter and by movie. And you can find the exercise files that correspond to the movie you're watching by first looking for the chapter number and then the movie number. You'll want to copy the contents of the exercise files folder into your web document root directory, that is the directory which your web server uses by default. If you're on a Mac configured like mine that will be the Sites directory that's inside your user directory.
If you're using a package like MAMP or WAMP, they're maybe configured to use a special directory of their own. Once you have identified your web document root directory, you can copy over the file. It's always a good idea to make a copy of the exercise files so that you will still have the original to refer back to if you make changes. I will option drag the file to create a new copy. Once you have the files in place, you'll be able to work right along with me. If you do not have the exercise files that accompany this tutorial, you can still follow along with me. Everything that's in the exercise files will be shown during the tutorial.
Remember that you can pause the video or rewind if you need more time to copy something down.
- Building a randomized string with PHP
- Allowing password configuration
- Choosing random words from a dictionary
- Picking words of specific lengths
- Creating a rating function to rate password strength
- Using CSS to display a color-coded strength meter