lovelyjitu Posted September 19, 2007 Share Posted September 19, 2007 Hi, can anybody tell me how to make a session for a simple login form. If you know plz tell me with a coding. Thanks. Jitu Quote Link to comment https://forums.phpfreaks.com/topic/69854-how-to-create-a-session-for-a-simple-login-form/ Share on other sites More sharing options...
JJohnsenDK Posted September 19, 2007 Share Posted September 19, 2007 ermmm... you create a session as follows: <?php session.start(); $_SESSION['loginName'] = $username; $_SESSION['password'] = $password; ?> if you want an complete login script, search at google for a tutorial. Its not that hard to make and its nice coding practics Quote Link to comment https://forums.phpfreaks.com/topic/69854-how-to-create-a-session-for-a-simple-login-form/#findComment-350934 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.