تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
عمل عداد للزوار من خلال Asp
#1
كاتب الموضوع : AhmedEssawy


كود :
'**************************************
' Name: A simple ASP Daily Hit Counter
' Description:It shows Number of daily v
' isitors or users to your site.
' By: efreedownloads.com
'
' Inputs:No
'
' Returns:No. of Daily Visiters Or Users
'
'
' Assumes:Is application variable workin
' g on your Web Server or IIS?
'
' Side Effects:No
'
'This code is copyrighted and has ' limited warranties.Please see [url=http://w/]http://w[/url]
' ww.Planet-Source-Code.com/vb/scripts/Sho
' wCode.asp?txtCodeId=8969&lngWId=4 'for details. '**************************************
<%
Dim x, y, temp, serv, D, hits
x = Trim(day(date()))
D = Application( "serv" )
if D = x Then
Application( "hits" ) = Application( "hits" ) + 1
Else
Application( "hits" ) = 1
End if
y = x
temp = y
Application( "serv" ) = temp
%>
There have been <%=Application( "hits" )%> hits To this page today!
}}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم