ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How can I use PHP to create login web pages?

user-image
تم إضافة السؤال من قبل Adam Ahmed , IT & Web Developer , Freelance
تاريخ النشر: 2016/05/09
Michael McLean
من قبل 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
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة