太难了,请教一下
<?php$users = array("sd110","wk110","hr110");
$user = $_REQUEST["u"];
$is_exsit = false;
if($user == ""){
echo "该用户不能为空!";
return;
}
foreach ($users as $u) {
if($u == $user){
$is_exsit = true;
break;
}
}
if($is_exsit){
echo "该用户已注册";
}else{
echo "success";
}
?>
以上如何转ASP?