another web programming question. This time, I’m looking to create a simple log in system that will allow a user to log in and register. When they do, they see a special page not viewable to users not logged in. No account options or anything, just log in or log out. If anyone has any advice on how to do this, it would be greatly appreciated!
another web programming question. This time, I’m looking to create a simple log in
Share
Any advice? The best advice is probably to use one of the few thousand existing scripts for that.
The general approach would be:
$_SESSION["user"]=..to valid value.uservalue, otherwisedie("with error message.")