diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index a107530e..3d7f7e20 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -1001,6 +1001,18 @@ class DataController extends Zend_Controller_Action exit(); } + if(mb_strlen($datas['project'],"utf-8")<8) + { + echo $form.''; + exit(); + } + + if(preg_match('/^\d+$/',$datas['project'])) + { + echo $form.''; + exit(); + } + $data = array( 'userid' => $userid, 'username' => $datas['username'],