ï»?%
CountFile = Server.MapPath("count.txt")
Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
Set Out= FileObject.OpenTextFile (CountFile, 1, FALSE, FALSE)
counter = Out.ReadLine
Out.Close
SET FileObject = Server.CreateObject("Scripting.FileSystemObject")
Set Out= FileObject.CreateTextFile (CountFile, TRUE, FALSE)
Application.lock
counter= counter + 1
Out.WriteLine(counter)
Application.unlock
Out.Close
Length=Len(counter)
ImgStr=""
for i=1 to 5 - Length ' �p�ƾ��w�] 1 ���, �����H 0 �ɨ�
ImgStr1=""+ImgStr1
next
do while Length>=1 ' �N�Ʀr�ন���������ɦW��
ImgStr2=""+ImgStr2
Length=Length-1
loop
ImgStr=ImgStr1+ImgStr2
%>
www.kfprecision.com