how do i make users have to log-in to my website?
360832
try http://www.lissaexplains.com. i haven't been there in a LONG time, but i think there might be something like that on there. if you can't find anything on the page, try a search on the forum.\n\nif that doesn't work, do a yahoo search on "html code" and "user" and "sign in" or something along those lines until you find something.
398334
I just used a form to send the username and password data to the appropriate place. Make sure you keep the "user" and "pass" attributes the same, and replace the path ("www.yourdomain.com") with the address of your site.\n\n<form name="login" action="http://www.yourdomain.com:2095/login/" method="post">\n  <p>\n    Username:\n    <br />\n    <input type="text" name="user" />\n  </p>\n  <p>\n    Password:\n    <br />\n    <input type="password" name="pass" />\n  </p>\n  <p><input type="submit" value="Submit" /></p>\n</form>\n\nPlease bear in mind that POST data is sent in plain text, so you may want to work out some sort of encryption.
930762
Try going to this article on evolt.com\n\nI used it for 'inspiration' a good while back but it should still be valid:\nhttp://www.evolt.org/PHP-Login-System-with-Admin-Features
628918
goto http://pages.google.com and sign-in too start creating your own website
142294
Well, you can use a regular text field and a password field. Handling the request would be done on the server. Whether its through a static username and password built into the page or connecting it to a database.
689990
Hi,\n\nFor simplicity, you could do this in one file, but technically for a better design you need to do it in multiple files.\n\n► PROGRAMMING LANGUAGE\nPick a programming Language of your choice, like ASP / PHP / JSP / RUBY / PERL\nI will pick PHP in this example!\n\n► CREATE A CONTROLLER\n// Lets create a session\nsession_start();\n\n// set the current action\n$_action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'Login';\n\nswitch($_action) {\n    case 'LoginSubmit':\nprocessSubmit($_POST);\n        break;\n    case 'Logout':\n    processLogout();\n    break;\n    default:\n        displayLoginForm();  \n        break;   \n}\n\nNow you have to understand basic Login Syntax... first you will need to get the corresponding action... like mywebsite.com/?action=Login\nNow if you did what I said on top... It will check where the action = Login, in my case it will goto default and access the function displayLoginForm();\n\n► FUNCTION displayLoginForm()\nFor simplicity what this will do is display the form for login, like(remember do this in html):\n$output = '<form action="login.php?action=LoginSubmit" method="post">';\n$output .= '<input name="username"  type="text" />';\n$output .= '<input name="password"  type="text" />';\n$output .= '<input name="submit"  type="submit"  type="text" />';\n$output .= '</form>';\nprint $output;\n\nWhat this does, it prints the form after you access that function and onc eyou press the button it will goto the LoginSubmit action in the controller as I mentioned above\n\n► FUNCTION processSubmit($_POST);\nif($_POST['username'] == 'm0' AND $_POST['password'] == '123') {\n$_SESSION['user'] = $_POST['username'];\n} else {\nprint "Access Denied";\n}\n\nWhat that does, it checks if the user is m0 with pass 123,\n\n► FUNCTION processLogout();\nThat will just log out the user so you can just do...\nunset($_SESSION['user']);\nheader('Location: /Login.php');\n\n\n► CONCLUSION\nOkay I just did the script for you within 10 min! \nSee how simple.. Remember you can expand the processSubmit to suit your own interest, like checking the database instead...\nSELECT username FROM users WHERE username=%s AND password=%s\nAnd just compare the username to the one given.\n\nAnd remember you need to create session to save the data throught the whole session of the visting.. So in ohter pages you could do this on the first line..\nif(isset($_SESSION['user'])) {\n... Your code of that page\n} else {\nprint "access denied.. login first";\n}\n\nSee how simple... Please remember I im just showing you the concept with some code. I usually do it in a object oriented fashion and everything is independent... You should be able to grab the concept and do something fancy!\n\nI hope I helped if you need more advice you can visit my forum at university so we can help.\nhttp://www.campusinteractive.com/forum/\n\nEnjoy! and phew!! That took some time heh NOTE: there might be syntax error :p
613846
Well if you want a javascript code, then simply generate a 6 to 8 digit number when they goto your website.\n\nTry using PHP's session function.\nIt has a function just for Sessions\nsession_id([string]);\n\n :-)\n\n -Void
691220
automatic login:\nControl Panel -> Users -> change the way users log on and off - > enter your password. \n\n\nhttp://www.passwordrecovery.com/ if you meant losing your password
1118097
Login as administrator and change the user's password
354112
need some more information about the user\nbut you can check domain security policies and change here "allow log on locally" to true.
639699
when you login click the checkbox that says "Remember me on this computer". That will only last one day though.\n\nI have a better way. :) I download the login page and hard code my username and password right in the form and put the form on my startup page. all i have to do from then on is to point and click my way into my accounts.\n\nyou have to know html for this to work for you.\nhttp://dwight.clickthesky.com/snippets1/fancygeocitieslogin.shtml\n\nif you don't know html don't ask me to do it for you :(
49718
You could use joomla, which is a Content Management System. You can manage a site, publish information, sign in and even add more features by installing simple modules. Alls you need is an webserver supporting php and a mySQL server (most likely on the same computer).
1042289
For that u have to log on as Administrator and then go to users to create new user
1068438
Set yourself up as a user and use that account to log in.
568036
log-in as the Admin or with the primary account name
182816
Go to the same site and sign in.
53462
You need to do that using a server script language, If you want to use it on a web site.\nCGI, PERL, PHP....