class 7 | homework: PHP image-uploading serviceFeatures:
-registration, login, main index, and upload image pages, with processing pages for login, register, and upload pages
-if a non-registered user requests index or upload page, the user is auto re-directed to login page and a friendly log in message is displayed
-if a user enters a blank username or password while registering or logging in, or enters an incorrect username/password combination on the login page, then the user is redirected back to the same page with an appropriate user-friendly error message
-if user successfully uploads an image file, a success message appears on the index after auto re-direct
-the main page displays up to 50 images, with caption, and author
Future features:
-terminating cookies, is it just setcookie ("logged_in", "", time()-3600);? didn't get around to experimenting
-reading the images.txt from the bottom to display most recent at top (or another way to display the latest uploads at the top of index page)