Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 trying to decipher some asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ksntz
Starting Member

38 Posts

Posted - 04 May 2007 :  07:59:14  Show Profile
couple questions, I am trying to figure out where in the code the email addresses are checked to be valid or invalid.... I have poured over it all and can't seem to find the code that decides that "zzz.zz" is invalid, and "zzz@zzz.zz" is valid (it seems like there is a check somewhere for the '@' sign, but I can't find it)

I assume it is somewhere in register.asp


and my second question, what does the following code snippet do?:

strSql = strSql & ", '" & chkString(rsKey("M_EMAIL"),"SQLString") & "'"

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 04 May 2007 :  08:37:01  Show Profile  Visit HuwR's Homepage
it uses a function in inc_func_member.asp called EmailField

the code snippet chks the Email filed and sanitises it for insertion into the database using the chkStrng function which is in inc_func_common.asp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07