-
Notifications
You must be signed in to change notification settings - Fork 0
/
pass.asp
33 lines (29 loc) · 1019 Bytes
/
pass.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<%
'--------------
'VT baglantisinin yapimasi:
Set Baglantim = CreateObject("ADODB.Connection")
'VT'nin acilmasi:
Baglantim.Open ("DRIVER={Microsoft Access Driver (*.mdb)};DBQ="&Server.MapPath("BenimVT.mdb"))
'Tablo nesnesinin olusturulmasi:
Set Tablom = server. CreateObject("ADODB.Recordset")
'Tablonun acilmasi:
Tablom.Open "Table1", Baglantim, 1, 3
'Tabloya veri eklemeye baslangic:
Tablom.AddNew
'Tablodaki alanlara veri aktarma
Tablom("name") = request("name")
Tablom("email") = request("email")
Tablom("username") = request("username")
Tablom("password") = request("password")
Tablom("birthday") = request("birthday")
Tablom("gender") = request("gender")
Tablom("phonenumber") = request("phonenumber")
Tablom.Update
Tablom.close
set Tablom= Nothing
Baglantim.close
set Baglantim= Nothing
response.write "Your information was entered sucessfully!"
%>
<p><a href="default.asp">Go to home</a></p>