Login, Signup and Logout Script using PHP and MySQL

Login, Signup or Logout these are the three things which you have done in daily social networking sites.So, today post is related to that one.Firstly,I will show you how the signup process work .In my project i have taken three fields E-Mail, Username and password.We select email as a primary key. Database Design: email varchar(100) PRIMARY KEY.. username varchar(100) password varchar(30) Signup Form: <form name="form1" action="index.php" method="POST"> <input type="email" name="email" placeholder="E-Mail" ><br> <input type="text" name="uname" placeholder="Username" ><br> <input type="password" name="pwd" placeholder="Password" ><br> <input name="signup" type="submit" value="Sign Up"> Signup.php In this PHP file i will show you some query and logics. ...