Php comprehensive exercise -- mymessbox -- logon _ PHP Tutorial

Source: Internet
Author: User
Php comprehensive exercise-mymessbox-login. Logon page: 0: 0: font-family:, width: 17% width:-left:-margin-left: font-size:-family: -bottom: styleheadbodydivdivW logon page:

Login

Welcome to mymessbox!

Login. php

Logon page processing:

= ['Loginname' = ['username' = ['password' = (['vcode' = (['rcode' ("localhost", "root ", "111" ("mymessbox" ("set names utf8 "(! = "Script" alert ('The code is wrong! '); Window. location. href = 'login. php 'script "(= 'manager' =" select username, password from manager where username = ''and password ='' "= (> = 1 ['mgusername'] =" script "alert ('login success! '); Window. location. href ='./manager/mg_index.php 'script "" script "alert ('login failed! The username or password was wrong! Please login again! '); Window. location. href = 'login. php 'script "=" select username, password from user where username = ''and password ='' "= (> = 1 ['username'] =" script "alert ('login success! '); Window. location. href ='./user/index. php' script "" script "alert ('login failed! The username or password was wrong !! Please login again! '); Window. location. href = 'login. php' script"Loginok. php

Let's start with these two. although they haven't been completed yet, there are still many loopholes, but I will change them at 1.1.

I hope you can give more advice when looking at it. Thank you!

Rows: 0: 0: font-family: ' ', width: 17% width:-left:-margin-left: font-size:-family: -bottom:/style/headbody p id = "wrap" p id = "welcome" W...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.