*Project name: Web registration system with good experience
*Author: Paramecium
*Contact:[email protected]
*Time: 2007-6-29
*Cause and copyright statement:
1. A member of Blue Ideal released a similar system and asked a question that the verification code does not support firefox refresh, so he had the idea to do one. The appearance of this system (button color picking, etc.) borrowed from the system, but the details implementation principles are not the same (the address of this article: http://bbs.blueidea.com/thread-2761325-1-4.html).
2. In addition, the registration system I made myself uses the componentless verification code on the network (author sipo)
3. As for the password strength algorithm, it borrows from an article from Blue Idea (http://www.blueidea.com/tech/web/2006/4324.asp), but the algorithm is not very ideal. If you have a better algorithm, please communicate with me.
* Features and knowledge points:
1.AJAX verifies the username and verification code, and asynchronously registers the username (both of AJAX is a very basic part)
2. Support verification code refresh (including under the firefox platform)
3. Instant detection of passwords, emails, usernames, etc. (using javascript DOM)
4. HTML passes W3C Strict verification, and CSS passes W3C CSS verification (actually this is a bit redundant and not completely necessary)
*Development platform: Windows 2003 IIS6.0 Access database
*Tools: DreamWeaver (write ASP), Aptana (write Javascript, HTML and CSS), Emeditor (write this article), Access2003 (database)
*Testing platform: Firefox2.0, Opera9.21, IE6.0, IE7.0
*Demo address: http://finish.3322.org/reg/reg.htm (effective for the short term, on this machine, access may not be smooth)
*Original address: http://cceer.xmu.edu.cn/blog/view.asp?id=52
*Replenish:
If you use this registration system, please be sure to pay attention to the following issues:
This system does not encrypt the password. If necessary, you can search for MD5 encryption
This system does not perform anti-injection settings. If necessary, you can search for SQL anti-injection
Due to my own level limitations, errors and shortcomings are inevitable. If you have any questions or suggestions, please contact me, thank you!
*Here is the rendering
Here is the package download of all files (including all files, pictures, databases, etc., please test under IIS after decompression)
Local download
Due to the limitation of article length, only two JS files and one display registration page are posted. As for the background processing page and CSS files, please check it in the compressed package.
Registration page reg.htm
The code copy is as follows:
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml"lang="gb2312">
<head>
<metahttp-equiv="Content-Type"c/>
<title>Paracoides---Simple AJAX Registration Page</title>
<linkhref="reg.css"type="text/css"rel="stylesheet"/>
<scriptsrc="detect.js"type="text/javascript"></script>
<scriptsrc="ajax.js"type="text/javascript"></script>
</head>
<body>