CheckEmail.asp
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:1k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../../FS_Inc/Const.asp" -->
- <!--#include file="../../FS_InterFace/MF_Function.asp" -->
- <!--#include file="../../FS_Inc/Function.asp" -->
- <!--#include file="Cls_user.asp" -->
- <link href="../images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">
- <%
- Dim Conn,User_Conn
- MF_Default_Conn
- MF_User_Conn
- Dim ReturnValue,Email
- Email=Replace(replace(trim(Request("Email")),"'","''"),Chr(39),"")
- If Email="" then
- Response.Write("请填写用户名")
- Response.end
- End if
- If len(Email)<6 then
- Response.Write("电子邮件请填写正确")
- Response.end
- End if
- if Email<> "" then
- if Instr(Email,"@")=0 or Instr(Email,".")=0then
- Response.Write("电子邮件请填写正确")
- Response.end
- end if
- end if
- dim Fs_User
- Set Fs_User = New Cls_User
- ReturnValue = Fs_User.checkEmail(Email)
- if ReturnValue then
- Response.Write(""& Email &" 此邮件可以注册")
- Response.end
- Else
- Response.Write(""& Email &" 邮件已经被注册")
- Response.end
- End if
- set Fs_User=nothing
- %>
- <link href="../images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">