https://github.com/natasha-ct/login-system-php-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.
https://github.com/natasha-ct/login-system-php-oop
mysql oop-principles php xampp-server
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/natasha-ct/login-system-php-oop
- Owner: NATASHA-ct
- Created: 2023-02-25T07:55:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T21:08:51.000Z (over 3 years ago)
- Last Synced: 2025-03-02T08:24:01.523Z (over 1 year ago)
- Topics: mysql, oop-principles, php, xampp-server
- Language: PHP
- Homepage: https://oop-ten.vercel.app
- Size: 457 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
- PHP
- MySql
- Css
#### Homepage with
- **[Login]**
- **[Logout]**
- **[Signup]**
## 🚀 Live Demo

### 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:
- https://github.com/NATASHA-ct/LOGIN-SYSTEM-PHP-OOP.git
- You can download this OOP login and Register system as a ZIP and enter your database details in the dbh.classes.php file.
```
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()."
";
die();
}
```
## 👥 Author
👤 **NATASHA TATENDA CHIROMBE**
- GitHub: [@NATASHA-ct]((https://github.com/NATASHA-ct)
- Twitter: [@NatashaChirombe]
- LinkedIn: [Natasha Chirombe](linkedin.com/in/natasha-chirombe-1531aa17b)
## 🙏 Acknowledgments
Dani Krossing(Tutor)
This project is [MIT](./LICENSE) licensed.
_NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._