% ' FP_ASP Bir FrontPage Bileşeni tarafından otomatik olarak oluşturulmuş ASP. Düzenlemeyin. On Error Resume Next Session("FP_OldCodePage") = Session.CodePage Session("FP_OldLCID") = Session.LCID Session.CodePage = 1254 Err.Clear strErrorUrl = "" If Request.ServerVariables("REQUEST_METHOD") = "POST" Then If Request.Form("VTI-GROUP") = "0" Then Err.Clear Set fp_conn = Server.CreateObject("ADODB.Connection") FP_DumpError strErrorUrl, "Bağlantı oluşturulamıyor" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Kayıt ayarları oluşturulamıyor" fp_conn.Open Application("form_ConnectionString") FP_DumpError strErrorUrl, "Veritabanı açılamıyor" fp_rs.Open "Sonuçlar", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Kayıt ayarları açılamıyor" fp_rs.AddNew FP_DumpError strErrorUrl, "Veritabanına yeni kayıt ayarları eklenemiyor" Dim arFormFields0(8) Dim arFormDBFields0(8) Dim arFormValues0(8) arFormFields0(0) = "D3" arFormDBFields0(0) = "D3" arFormValues0(0) = Request("D3") arFormFields0(1) = "T2" arFormDBFields0(1) = "T2" arFormValues0(1) = Request("T2") arFormFields0(2) = "S1" arFormDBFields0(2) = "S1" arFormValues0(2) = Request("S1") arFormFields0(3) = "R1" arFormDBFields0(3) = "R1" arFormValues0(3) = Request("R1") arFormFields0(4) = "T3" arFormDBFields0(4) = "T3" arFormValues0(4) = Request("T3") arFormFields0(5) = "D1" arFormDBFields0(5) = "D1" arFormValues0(5) = Request("D1") arFormFields0(6) = "T1" arFormDBFields0(6) = "T1" arFormValues0(6) = Request("T1") arFormFields0(7) = "D2" arFormDBFields0(7) = "D2" arFormValues0(7) = Request("D2") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 If Request.ServerVariables("REMOTE_USER") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_USER"), "Kullanıcı_Adı" End If FP_SaveFieldToDB fp_rs, Now, "Zaman_damgası" If Request.ServerVariables("HTTP_USER_AGENT") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("HTTP_USER_AGENT"), "Tarayıcı_türü" End If If Request.ServerVariables("REMOTE_HOST") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_HOST"), "Uzak_bilgisayar_adı" End If fp_rs.Update FP_DumpError strErrorUrl, "Veritabanı güncelleştirilemiyor" fp_rs.Close fp_conn.Close Session("FP_SavedFields")=arFormFields0 Session("FP_SavedValues")=arFormValues0 Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") Response.Redirect "onay.htm" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1254"%>
![]() |
|||||||
|
Telefon: 0 414 313 27 11 Faks: 0 414 313 10 15 E - Posta: sanliurfatarim@gmail.com Posta: Kadri Eroğan Caddesi Tarım İl Müdürlüğü NO:1 - 63000 / Şanlıurfa
İl müdürlüğü dahili telefon rehberi için tıklayınız
|
|||||||
|
|||||||