| LOGIN |
| UserName | "
TEXTBOX #userName, ""
html " |
| Password: | "
PasswordBox #passWord, ""
html " |
"
button #si, "Signin", [doSignin]
html " "
button #ex, "Exit", [exit]
html " |
"
WAIT
[doSignin]
loginUserName$ = trim$(#userName contents$())
loginPassWord$ = trim$(#passWord contents$())
if (loginUserName$ = "admin" and loginPassWord$ = "admin" then
print "Login ok"
else
print "invalid User or Pass"
cls
goto [loop]
end if
print Platform$ ' OS where Run BASIC is being hosted
print UserInfo$ ' Information about the user's web browser
print UserAddress$ ' IP address of the user
[exit]
end