Home > Backend Development > PHP Tutorial > 显示完整标题

显示完整标题

WBOY
Release: 2016-06-23 14:06:05
Original
1000 people have browsed it

php+mysql
注册时在注册的用户名和密码前后加上自定义的字符防止注入效果怎样


像本站论坛公告那里当鼠标移到标题上出现一个框 显示完整标题怎么做


回复讨论(解决方案)

1、用户名和密码被你改了,人家怎么知道?

2、写在 title 属性里就是了

注册时在注册的用户名和密码前后加上自定义的字符防止注入效果怎样
防止注入的关键在于构造 sql 传世的安全检查!

像本站论坛公告那里当鼠标移到标题上出现一个框显示完整标题怎么做
给 a 标签的 title 赋值

用户名和密码被你改了,人家怎么知道?
 注册---原密码-----MD5(字符+密码+字符)--存入数据库
 登录---原密码-----MD5(字符+密码+字符)--查找数据库

title加上数据库了的值不行

贴出你的代码看看

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template