In this example, first of all we’ll validate the user login detail from ajax showing the messages with some animation. If authenticated, the user will be redirected to the secure page “secure.php”. If you’ll try to directly access “secure.php”, you can’t do that.
Now let’s look at the code how to do this,
HTML Code
< orm="">
As you can see in html code, we’ve created the form with id “login_form”.And furthermore, the CSS code is same as the one available in the pervious post of checking user ...
↧