Re: cgi question - WeOnlyDo Discussion board

Re: cgi question (General questions)

by ricado, Sunday, January 15, 2006, 23:52 (6887 days ago) @ wodSupport

Thanks for your quick response. The following is my html code which run on IIS 6.0. How could I go with wodWebServer?
[code]<html>

<head>

<title>Chat Example</title>

</head>

<body>

<script language= JavaScript >
<!--
function CheckForm ()
{
if (document.Chat.User.value == )
{
alert ( Please specify an user name! );
document.Chat.User.focus ();
}
else
document.Chat.submit ();
}
// -->
</script>

<form name= Chat action= http://localhost/cgi-bin/Chat.exe method= post >
Enter your name:&nbsp;
<input type= text name= User >&nbsp;
<input type= button value= Enter onclick= CheckForm () >
<input type= hidden name= Room value= Example >
<input type= hidden name= RefreshInterval value= 10 >
<input type= hidden name= MaxMessages value= 20 >
<input type= hidden name= Timeout value= 300 >
<input type= hidden name= ReturnFile value= / >
<input type= hidden name= StyleSheet value= Chat.ccs >
<input type= hidden name= Command value= Enter >
</form>

<script language= JavaScript >
<!--
document.Chat.User.focus ();
// -->
</script>

</body>

</html>
[/code]


Complete thread: