Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PHP] Login && Register With Remember Me Option [mySQL]
#1
Firstly, create a mySQL account, and create a new table (in phpmyadmin) with this code.

Code:
CREATE TABLE users (
    username varchar(30),
    password varchar(32));

Now, create a file named "database.php" and paste this code in


Now, create a file called "register.php" and paste in this code.

This registration page has:
Register Page
Register Failed
Register Success

Now create "login.php" and paste this code:


Now of course, you'll be needing a main page.
So create a new file called "main.php" and paste in this code:


Credits:


Enjoy.

+REP is appreciated.
Reply


Messages In This Thread
[PHP] Login && Register With Remember Me Option [mySQL] - by Bartdevil - 10-10-2009, 05:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 941 07-27-2020, 11:26 PM
Last Post: tk-hassan
  Woocommerce Product Add-ons - Auto-select first option EFitzpatr7 0 1,410 04-21-2016, 02:09 AM
Last Post: EFitzpatr7
  [PHP] Very Basic Login Page BreShiE 17 7,926 07-11-2013, 05:57 AM
Last Post: 1n9i9c7om ツ
  [help] Improve login script Montana" 1 1,735 03-18-2013, 12:59 PM
Last Post: Haxalot
  User register page riptpage 0 1,188 10-27-2012, 06:40 AM
Last Post: riptpage

Forum Jump:


Users browsing this thread: 3 Guest(s)