/[LeafOK_CVS]/fenglin/bbs/user_login_service.php
ViewVC logotype

Diff of /fenglin/bbs/user_login_service.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Mon Mar 31 14:09:27 2025 UTC Revision 1.2 by sysadm, Tue Apr 1 02:45:18 2025 UTC
# Line 29  Line 29 
29          header("Content-Type:application/json; charset=utf-8");          header("Content-Type:application/json; charset=utf-8");
30    
31          // Validate input data          // Validate input data
   
32          if (!preg_match("/^[A-Za-z][A-Za-z0-9]{4,11}$/", $username))          if (!preg_match("/^[A-Za-z][A-Za-z0-9]{4,11}$/", $username))
33          {          {
34                  $result_set["return"]["code"] = -1;                  $result_set["return"]["code"] = -1;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1