Ciao ho questo codice:
<%
dim action
action = request.form("act")
if action = "" then
%>
<form method="post" action="rescue.asp">
<input type="hidden" name="act" value="salva">
user<input type="text" name="user" size="20"><br>
email<input type="text" name="email" size="20"><br>
<input type="submit" name="invia">
</form>
<%
elseif action = "salva" then
dim user, email
user = request.form("user")
email = request.form("email")
if (user = "" or email = "") then
response.write("compila i campi")
response.End()
else
dim conn, rs, query
set conn = server.CreateObject("adodb.connection")
conn.open = "pcmweb"
query = "select * from UTENTI where user = '" & User & "' "&_
"and email = '" & email & "'"
set rs = server.CreateObject("adodb.recordset")
rs.open query, conn, 3, 3
if rs.eof then
response.write("utente inesistente")
response.End()
else
response.write rs("pass")
response.End()
end if
rs.close
set rs = nothing
conn.close
set conn = nothing
end if
end if
%>
che recupera la password e la stampa a video, io xo vorrei poterla spedire tramite email,chi sa come si fa ???
Se fossi modesto sarei perfetto!