%@ Language=VBScript %>
<% dim fname,mname,lname, email, hphone, wphone, schoolName, user, pass, pass2, submitted dim schoolID, maxID dim errMsg, bodyText dim conn dim RSbuffer, RSbuffer2 dim sqlQuery dim mail set conn = server.CreateObject("ADODB.connection") conn.Open ConnectionString 'check if it is a submitted page submitted = trim(Request.Form("submitted")) 'request all variables to be transferred fname = trim(Request.Form("fname")) mname= trim(Request.Form("mname")) lname= trim(Request.Form("lname")) email = trim(Request.Form("email")) schoolName = ucase(trim(Request.Form("schoolName"))) wphone = trim(Request.Form("wphone")) user = trim(Request.Form("user")) pass = trim(Request.Form("pass")) pass2= trim(Request.Form("pass2")) if submitted <> "yes" then %>
|
NEW USER
REGISTRATION ___________________ |
<%
errMsg = trim(Request.QueryString("errMsg"))
if InStr(errMsg,"usrNameExist") <> 0 then
%>
ERROR: Username has already been user by another user <% else if InStr(errMsg,"passmismatch") <> 0 then %> ERROR: The password you supplied and the re-entered password do not match <% end if end if %> |
|
NEW USER
REGISTRATION ___________________ |
Your registration has been accepted. We will inform you by email when your registration has been approved. |