How to add login verification to the backend templates on and off the website?
phpcn_u14927
phpcn_u14927 2017-08-12 17:19:25
0
1
1452

The website provides many templates for the backend management system, all of which are html. I only learned the jump verification of php. I would like to ask, how to add login verification to html?

It seems to be added in the html file Without entering PHP's $islogin type of judgment, the session cannot be read. So if the user directly opens the HTML web page, how to judge a non-logged in user and let him jump to the login page.

If it is ajax verification, should we use session or how to judge?

phpcn_u14927
phpcn_u14927

reply all(1)
ringa_lee

The verification code is written in PHP. The principle of login verification is that PHP generates the verification code and saves it in the session. Then the verification code entered by the user in the form is submitted to the php file for user login verification. We can then determine whether the user has submitted it. Are the verification code and session in the form the same?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template