他是如何绕过注册10字符限制的?

WBOY
Release: 2016-06-13 12:05:09
Original
1017 people have browsed it

他是怎么绕过注册10字符限制的???
我看到是很多空格。。。
但是正常的输入空格没道理会成功的。。

有爱好者来帮我找找原因吧。
链接地址
http://bbs.youyax.com/Content-5511

关于过滤的写法

public function transform($txt)<br />    {<br />        $txt = trim($txt);<br />        $txt = addslashes(htmlspecialchars($txt, ENT_QUOTES, "UTF-8"));<br />        if (preg_match_all("/\<fieldset><legend>Quote:</legend><blockquote>(.+?)\[\/quote]/is", $txt, $match)) {<br />            $txt = preg_replace('/\s*\r\n\s*/', '', $txt, 1);<br />        }<br />        $huanhang = array(<br />            "\r\n",<br />            "\n",<br />            "\r"<br />        );<br />        $txt      = str_replace($huanhang, '<br>', $txt);
Copy after login

------解决方案--------------------
图片显示:文字到省略号间有一段空白
连浏览器都不认为是半角空格,你还 \s 有何用?

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