Skip to content

dev7-abood/ajax-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ajax Register/Login or Sign Up/Sign In (whatever suits you better)

Ajax sign up & sign in app. For those who want to master ajax register/login stuff or use this in their project. I hope you'll find the code useful and use it on your project. Feel free to continue developing the dashboard and to add new pages if you need.

First things first, create a database and with the newly database being selected, execute the SQL query found in users.sql which will create table users. Then update your database credentials in:
app/db.php
and you are good to go.

ajax/login.php handles the ajax request coming from the sign in page, while ajax/register.php handles the ajax request coming from the sign up page.

This app is built in core PHP, uses MySQL and PDO for database interaction. It's ideal for small to medium apps, for more complex things I recommend that you use already proven PHP framework (there are so many PHP frameworks to choose from which is great) or custom MVC pattern on your own.

About

Ajax sign in & sign up

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 74.5%
  • JavaScript 14.1%
  • CSS 11.4%