PHP Solutions

Yay! PHP: Hypertext Processing.

Of all the languages I've been exposed to in terms of making dynamic web pages, PHP has to be the cheapest!

To be honest, ASP.NET is a bit easier, but proprietary, and JSP is, well, I could write volumes on how frustrating and painful it is, so I'm going to stop there.

Posted Exercises

PHP-Solution 7-3
Using the buildFileList() function
Building an drop-down menu from reading the contents of a folder.
PHP Solution 7-5
Opening a news feed with fsockopen()
What you get is dependant on the browser and your RSS settings. Firefox asks if I want it on my Google Reader, IE displays a recent list of updated articles.
PHP Solution 7-6
Prompting a user to download an image
Instead of linking to it for viewing.
Solution 11-6
Displaying the images table using PDO
This is displays a table of everything in my "images" table from my database.
Solution 12-5
Creating the navigation links
Creating dynamic navigation links on a gallery. It will display a maximum of 6 thumbnails at a time.
Solution 15-1
Creating a user registration form
The form will automatically encrypt the password.
Solution 15-2
Authenticating a user's credentials with a database
If the login is correct, the page will redirect. Otherwise, the page will display and error.