Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can I use PHP to create login web pages?

user-image
Question added by Adam Ahmed , IT & Web Developer , Freelance
Date Posted: 2016/05/09
Michael McLean
by Michael McLean , IT Manager , RASAN Software House LLC

Indeed, php is easy for logins and many of the frameworks like apphp allow you to creat captchas and other login methods very easily.

Mohammad Ahmad Siddiqui
by Mohammad Ahmad Siddiqui , Sr.Software Engineer , GSPANN Technologies Inc

Hi Adam,Please follow the link

http://mrbool.com/how-to-create-a-login-page-with-php-and-mysql/28656

 

Ghada Eweda
by Ghada Eweda , Medical sales hospital representative , Pfizer pharmaceutical Plc.

Agree with of Mr.Michael McLean  opinion . Thanks

 

create table in mysql( or any other database) to store user name and password. Then in form execute a select query to check if a record exists in databse corresponding to the user name and password entered by user in textboxes. If record exists then register the session in that user name and navigate the user to the next page. If no record exists then display an error message to the user. When the user logs out, destroy that session that was earlier registered.

More Questions Like This