このプログラムは、FSO+Serv-U(2.xバージョン)を使用して実装しています。
1。index.htm
<html>
<head>
<title> ningbo keyuネットワーク - 個人Webアプリケーション</title>
<メタhttp-equiv = content-type content = text/html; charset = gb2312>
<スクリプト言語= javascript>
function checkifinglish(string)
{
var letters = abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz1234567890-;
var i;
var c;
if(string.charat(0)== '' '' '' '' ')
falseを返します。
if(string.charat(string.length -1)== '' '' '' '')
falseを返します。
for(i = 0; i <string.length; i ++)
{
c = string.charat(i);
if(letters.indexof(c)<0)
falseを返します。
}
trueを返します。
}
function checksubmit(){
var emaileRERG = /^ [_a-z0-9] +@( [_a-z0-9] +.)+ [a-z0-9] {2,3 }$/;
if(document.form.name.value ==){
アラート(登録するユーザー名を入力してください!);
document.form.name.focus();
falseを返します。
}
if(!checkifenglish(document.form.name.value)){
アラート(ユーザー名は中国語と違法な文字を入力できません!);
document.form.name.focus();
falseを返します。
}
if((document.form.pass.value ==)&&(document.form.rpass.value ==)){
アラート(パスワードは空にすることはできません!);
document.form.pass.focus();
document.form.rpass.focus();
falseを返します。
}
if((document.form.pass.value)!=(document.form.rpass.value)){
アラート( '' '' '副次パスワード入力は異なります!' '' ');
document.form.pass.focus();
document.form.rpass.focus();
falseを返します。
}
if(document.form.email.value ==){
アラート(メールを入力してください!);
document.form.email.focus();
falseを返します。
}
if((!emailreg.test(document.form.email.value))&&(document.form.email.value!= '' '' '' '' '){){
Alert( '' '' '電子メールの形式は間違っています!' '' ');
document.form.email.focus();
falseを返します。
}
trueを返します。
}
</script>
<スクリプト言語= javascript>
<! -
function mm_reloadpage(init){// nav4がサイズ変更された場合、ウィンドウをリロードします
if(init == true)with(navigator){if((appname == netscape)&&(parseint(appversion)== 4)){
document.mm_pgw = innerwidth; document.mm_pgh = innerheight; onresize = mm_reloadpage; }}
else if(innerwidth!= document.mm_pgw || innerheight!= document.mm_pgh)location.reload();
}
MM_RELOADPAGE(true);
//->
</script>
</head>
<body bgcolor =#fffff text =#000000 background = crystal.jpg>
<p align = center> </p>
<p align = center> <b> <font size = 6 Color =#333333> Ningbo KeyUネットワーク---個人Webアプリケーション</font> </b> </p>
<p align = center> </p>
<テーブル幅= 65%境界= 0 align = center>
<tr>