Forumda bununla ilgili güncelleme mevcut diye hatırlıyorum. Aşağıya kodları ekliyorum bir dene dl_goto.asp:
<%
'<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
'<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
'<> Copyright (C) 2004-2005 Tom Nance (SkyDogg) All Rights Reserved
'<> Events Suite Copyright (C) 2004-2005 Ken Smiley All Rights Reserved
'<>
'<> By using this program, you are agreeing to the terms of the
'<> GNU General Public License.
'<>
'<> This program is free software; you can redistribute it and/or
'<> modify it under the terms of the GNU General Public License
'<> as published by the Free Software Foundation; either version 2
'<> of the License, or any later version.
'<>
'<> All copyright notices regarding MaxWebPortal must remain intact
'<> in the scripts and in the outputted HTML.
'<> The "powered by" text/logo with a link back to
'<> http://www.maxwebportal.info in the footer of the pages MUST
'<> remain visible when the pages are viewed on the internet or intranet.
'<>
'<> Support can be obtained from support forums at:
'<> http://www.maxwebportal.info
'<>
'<> Email: maxweb@maxwebportal.info
'<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
'<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
'***********************************************************************
'** Copyright (C) 2001 - 2004 Max Yuan All Rights Reserved
'**
'** By using this program, you are agreeing to the terms of the
'** GNU General Public License.
'**
'** This program is free software; you can redistribute it and/or
'** modify it under the terms of the GNU General Public License
'** as published by the Free Software Foundation; either version 2
'** of the License, or any later version.
'**
'** All copyright notices regarding MaxWebPortal must remain intact
'** in the scripts and in the outputted HTML.
'** The "powered by" text/logo with a link back to
'** http://www.maxwebportal.com in the footer of the pages MUST
'** remain visible when the pages are viewed on the internet or intranet.
'**
'** Support can be obtained from support forums at:
'** http://www.maxwebportal.com
'**
'** Email: maxwebportal@hotmail.com
'** ICQ: 148111300
'***********************************************************************
%><!-- #INCLUDE FILE="config.asp" -->
<!-- #INCLUDE FILE="inc_functions.asp" -->
<!-- #INCLUDE FILE="inc_top_short.asp" -->
<% if not strDBNTUserName = "" Then %>
<%
antileech = "0" 'if you are having trouble with the links, change antileech to 0
dlid = Request.QueryString("id")
if IsNumeric(dlid) = True then
dlid = cLng(Request.QueryString("id"))
else
Response.write "Dosya bulunamadı"
Response.End
end if
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
lastdate = chkString(Request.Cookies("date"),"sqlstring") 'mwpv2.1
lastid = chkString(Request.Cookies("dlid"),"sqlstring") 'mwpv2.1
if lastid <> dlid then
my_Conn.Execute("UPDATE DL SET HIT = HIT + 1 Where DL_ID =" & dlid)
Response.Cookies("dlid") = dlID
Response.Cookies("dlid").Expires = dateadd("d",7,strForumTimeAdjust)
end If
dim rs
Set rs = my_Conn.Execute("SELECT URL FROM DL WHERE DL_ID = " & dlid)
dlurl = RS("URL")
set rs = nothing
my_Conn.Close
set my_Conn = nothing
if antileech = "1" then
strDomainName = strHomeURL
strDomainReferer = chkString(Request.ServerVariables("HTTP_REFERER"), "refer")
If InStr(strDomainReferer, strDomainName) = 0 Then
Response.Redirect (dlurl)
Else
Response.Redirect("default.asp")
End If
else
Response.Redirect (dlurl)
end if
%>
<%else%><br><br>
<center><font face="verdana" size="3">SADECE ÜYELER DOSYA İNDİREBİLİR</font></center>
<%end if%>