This example for you to share the PHP bootstrap to achieve a simple login method for your reference, the specific contents are as follows
All Files
Remember to get the name key value to the from inside action is your action
Signin.html
Sign.css
body {
padding-top:40px;
padding-bottom:40px;
Background-color: #eee;
Form-signin {
max-width:330px;
padding:15px;
margin:0 Auto;
Form-signin. form-signin-heading,
. form-signin. checkbox {
margin-bottom:10px;
}
. Form-signin. checkbox {
font-weight:normal
}
. Form-signin. Form-control {
position:relative;
Height:auto;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
Box-sizing:border-box;
padding:10px;
Font-size:16px
}
. Form-signin. form-control:focus {
z-index:2
}
. Form-signin input[type= "Email"] {
margin-bottom: -1px;
border-bottom-right-radius:0;
border-bottom-left-radius:0
}
. Form-signin input[type= "Password"] {
margin-bottom:10px;
border-top-left-radius:0;
border-top-right-radius:0;
}
form-signin.php
<pre>
<?php Print_r ($_get);? >
</pre>
If you want to further study, you can click here to learn, and then attach two wonderful topics: Bootstrap Learning Tutorials Bootstrap Practical course
The above is the entire content of this article, I hope to help you learn