Thinkphp自动验证怎么实现的?
今天研究Yourphp系统代码的时候发现,在注册页面有一句话:
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><input type="text" id="username" name="username" class="input-text" validate="required:true,en_num:true,remote: '{:U('User/Register/checkusername')}' , minlength:5, maxlength:20">