maniac conn.asp yi komple mi onunla değiştireyim nasıl yapayım?
---
komple olarak böyle
,,,,,,,,,,
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1254"%>
<%
Response.Buffer = True
Set baglanti = Server.CreateObject("ADODB.Connection")
'baglanti.open "driver={SQL Server};server=;uid=;pwd=;database="
baglanti.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("asddd/erolll###.mdb")
Session.Timeout=15
Session.CodePage=1254
Session.LCID=1055
Response.Charset="iso-8859-9"
trh = FormatDateTime(date)
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open "select * from video",baglanti,1,3
toplam=rs.recordcount
rs.close()
function temizle(yazi)
yazi = Replace(yazi," ","_")
yazi = Replace(yazi,"-","+")
yazi = Replace(yazi,"Ç","C")
yazi = Replace(yazi,"Ş","S")
yazi = Replace(yazi,"İ","i")
yazi = Replace(yazi,"Ü","u")
yazi = Replace(yazi,"Ö","ö")
yazi = Replace(yazi,"ü","u")
yazi = Replace(yazi,"ö","o")
yazi = Replace(yazi,"ş","s")
yazi = Replace(yazi,"ç","c")
yazi = Replace(yazi,":","+")
yazi = Replace(yazi,"I","i")
yazi = Replace(yazi,"ı","i")
yazi = Replace(yazi,"Ğ","g")
yazi = Replace(yazi,"ğ","g")
temizle = yazi
end function
%>