נשלח בתאריך: 23 March 2010 בשעה 14:21 | | IP רשוּם
|
|
|
|
הקוד:
<html dir="rtl"> <head> </head> <body> <% username=Request.Form ("username") password=Request.Form ("password")
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _ "Dbq=" & Server.MapPath("db\DogsDB.mdb") & ";" & _ "Uid=admin;" & _ "Pwd=;" mySQL = "INSERT INTO Users (UserName, Password) " &_ "VALUES (" &_ "'" & username & "'" & ", " &_ "'" & password & "'" &_ ")"
oConn.Execute(mySQL) oConn.Close Set oConn = Nothing
%> <h1 align="center"> תודה לך, פרטיך נרשמו בהצלחה </h1>
</body> </html>
|