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 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 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
Archived
This topic is now archived and is closed to further replies.