<?php
if(isset($_REQUEST['test'])){
if((strlen($_REQUEST['test'])<6)){
echo "输入字符长度不能小于6";
}else{
echo "测试成功";
}
}
?>
<from method="POST" action="aaa">
验证测试:<input type="text" name="test" value=""/>(长度不小于6)<br>
<input type="submit" name="submit" value="测试"/>
</from>
用记事本写的为什么运行不了
我是用APMServ