View Full Version : Help with login system
Implement!
30-05-2006, 01:15 PM
I am making my own DJ Panel but the only bit i need is the login which i cannot do i would use techtus usersystem but dont now were to put the Panel on there can anyone help please :s
Delused
30-05-2006, 01:30 PM
To make your own panel you need to know WHAT to do.
For my login's i make this is the php code i use
<?
$user=$_POST['user'];
$pass=$_POST['pass'];
$check_username=mysql_query("SELECT * FROM `users` WHERE `username`='$user'");
if(mysql_num_rows($check_username)==0){
*Error for invalid username*
} else {
$check_password=mysql_query("SELECT * FROM `users` WHERE `username`='$user'");
$password=mysql_fetch_array($check_password);
if(md5($pass)==$password[password]){
*User Logged in*
} else {
*Invalid Password for user*
}
}
That Login script is for use with mysql so it might not help you but if you decide to use mysql use that
Kymux
02-06-2006, 11:49 AM
That's always a good option. You culd always try phptuts although i think that got hacked.
Try it anyway. www.phptuts.com
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.