Abyss web server - Try It Out Authorizing Users to Edit Their
Try It Out Authorizing Users to Edit Their Accounts Now you can create the area where users are allowed to change their information or delete their account. Call this page user_personal.php, but first you will create a slightly modified authorization page, which checks whether or not users are logged in and, if they are not, redirects them to your also slightly modified login page: 1. Enter the first set of code and call it auth_user.inc.php: ; echo (If your browser doesn t support this, . click here) ; die(); } ?> 2. Create the modified login page. Call this one user_login.php. The modification is in the way that you check the username and password against usernames and passwords stored in the MySQL database. Previously, you just hard-coded a username and password in the code. ; echo (If your browser doesn t support this, . click here) ; } else { ?>
383 User Logins, Profiles, and PersonalizationIf you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.