Discuz教程网

[已解决]username in register page

 关闭 [复制链接]
authicon oxsbrdv 发表于 2013-4-21 05:45:29 | 显示全部楼层 |阅读模式
when i try to register a username contains of two words between them a space a message came to me and told me that there is some blocked letters or something like this !

please told me how to fix it
最佳答案
avatar
2013-5-18 09:12:05
open file:uc_client\model\user.php
find:
  1. preg_match("/\s+|^c:\\con\\con|[%,\*"\s\<\>\&]|$guestexp/is"
复制代码
alter:
  1. preg_match("/^c:\\con\\con|[%,\*"\<\>\&]|$guestexp/is"
复制代码




上一篇:提醒不自动消失
下一篇:新发现的BUG
authicon dly 发表于 2013-5-18 09:12:05 | 显示全部楼层    本楼为最佳答案   
open file:uc_client\model\user.php
find:
  1. preg_match("/\s+|^c:\\con\\con|[%,\*"\s\<\>\&]|$guestexp/is"
复制代码
alter:
  1. preg_match("/^c:\\con\\con|[%,\*"\<\>\&]|$guestexp/is"
复制代码

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-15 21:17

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表