Ciao ho cambiato idea, per il sito del mio amico voglio utilizzare il codice ASP!!!

Ed eccolo

<%
Dim conn,rs,SQL,RecsAffected

Set conn=Server.CreateObject("ADODB.Connection")
conn.Mode=adModeRead
conn.ConnectionString = aConnectionString
conn.Open
Set rs =Server.CreateObject("ADODB.Recordset")

Dim password,password2,error_flag,error_msg
error_flag="False" '' Setting error flag
error_msg="" '' Error message
password=Request("password")
password2=Request("password2")

dim RExp : set RExp = new RegExp
with RExp
.Pattern = "^[a-zA-Z0-9]{3,8}$"
.IgnoreCase = True
.Global = True
end with

If (not (RExp.test(password) and RExp.test(password2))) then
error_flag="True"
error_msg = "
Please enter valid data only "
End if

If (password<>password2 ) then
error_flag="True"
error_msg = error_msg + "
Passwords are not matching"
End if

if error_flag="False" then
rs.open "update member set password = ''"&password&"'' where userid=''" & session("userid") &"'' ", conn
Response.Write "

Successfully changed Password "
else
Response.Write error_msg
End if


Set rs = Nothing
conn.Close
Set conn = Nothing
%>

E questo è il form

<div align="center">
<h2><font face="Times New Roman" color="green">[b]Change Your Password</h2>

<form method=post action=pwck.asp>
<table border="0" cellspacing="0" cellpadding="0" align=center width=400>
<tr><td><font face="Times New Roman" size="2" color="green">[b]Password</td><td><input type=password name=password></tr>
<tr><td><font face="Times New Roman" size="2" color="green">[b]Re-enter Password</font></td><td><input type=password name=password2></tr>
<tr><td colspan=2 align=center><input type=submit value="Change My Password"></td></tr>
</table>

mi da questo errore invece di cambare password, come posso fare per risolverlo? nella pagina pwck.asp ho messo solo il codice asp è giusto???