Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How can I use PHP to create login web pages?

user-image
Question ajoutée par Adam Ahmed , IT & Web Developer , Freelance
Date de publication: 2016/05/09
Michael McLean
par 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
par Mohammad Ahmad Siddiqui , Sr.Software Engineer , GSPANN

Hi Adam,Please follow the link

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

 

Ghada Eweda
par 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