Skip to content

NATASHA-ct/LOGIN-SYSTEM-PHP-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login-and-Register-system-using-OOP

Login and Register system created using OOP PHP. An object oriented authentication system gives a user the ability to register,log in, logout and includes features like validation, session saving, salt-hash-encrypted passwords, error handlers.

Tech Stack

  • PHP
  • MySql
  • Css

Key Features

Homepage with

  • [Login]
  • [Logout]
  • [Signup]

(back to top)

🚀 Live Demo

php login

💻 Getting Started

Prerequisites

In order to run this project you need:

  • Basic OOP PHP
  • PHP form validation
  • PHP error handling
  • MySql
  • Xampp

Setup

Clone this repository to your desired folder:

 protected function connect(){
        // error handling
        try {
            $username = "USERNAME GOES HERE";
            $password = "PASSWORD GOES HERE";
            $dbh = new PDO('mysql:host=HOST NAME GOES HERE;dbname=DATABASE NAME GOES HERE', $username, $password);
            return $dbh;
        } catch (PDOExceotion $e) {
            print "Error! ". $e->getMessage()."<br/>";
            die();
        }
  

👥 Author

👤 NATASHA TATENDA CHIROMBE

🙏 Acknowledgments

Dani Krossing(Tutor)

📝 License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

(back to top)

About

Login and Register system created using OOP PHP-An object oriented authentication system gives a user the ability to register,log in, logout and includes features like validation, session saving, salt-hash-encrypted passwords, error handlers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors