´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • 俵ÀÌ / 2001-06-02 / ¿ÀÈÄ 4:27:09 / 203.255.3.190
    Á¶È¸¼ö : 151
    [Áú¹®] global.asa¿À·ù
    > ¿À·ù Çü½Ä:
    > Microsoft VBScript ·±Å¸ÀÓ ¿À·ù (0x800A0035)
    > ÆÄÀÏÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù.
    > /bjha/global.asa, line 7
    > óÀ½ Ä«¿îÅ͸¦ ½ÇÇàÇÏ¸é ¿À·ù°¡ ³ª°í
    > µÎ¹ø° »õ·Î°íħÇØ¾ß ¿À·ù°¡ ¾ø¾î¿ä.Ä«¿îÅÍ´Â
    > Àüü,ÇöÀç,¿À´Ã ÀÔ´Ï´Ù.
    > <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
    >
    > Sub Application_OnStart
    > Dim FileObject, visitCountFileName, Out
    > Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    > VisitCountFileName = Server.MapPath("visit.txt")
    > Set Out = FileObject.OpenTextFile(VisitCountFileName,1,FALSE,FALSE)
    > Application("Visit")=Out.ReadLine
    > Application("TodayVisit")=Out.ReadLine
    > Application("Today")=Out.ReadLine
    > Application("CurrentVisitor")=0
    > Application("VisitCountFileName")=VisitCountFileName
    > End Sub
    > Sub Application_OnEnd
    > Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    > Set Out = FileObject.CreateTextFile(Application("VisitCountFileName"),TRUE,FALSE)
    > Application.Lock
    > Out.WriteLine(Application("Visit"))
    > Out.WriteLine(Application("TodayVisit"))
    > Out.WriteLine(Application("Today"))
    > Application.UnLock
    >
    > End sub
    >
    > Sub Session_OnStart
    > Dim FileObject, Out
    >
    > Application.lock
    > Application("Visit")= Application("Visit")+1
    > Application("CurrentVisitor")=Application("CurrentVisitor")+1
    > if Application("Today") = date() then
    > Application("TodayVisit")=Application("TodayVisit")+1
    > Application("Today") = date()
    > else
    > Application("TodayVisit")=0
    > Application("Today") = date()
    > end if
    > Application.unlock
    >
    > Session.Timeout = 20
    >
    > If Application("Visit") MOD 5 = 0 Then
    > Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
    > Set Out = FileObject.CreateTextFile(Application("VisitCountFileName"),TRUE,FALSE)
    >
    > Application.lock
    > Out.WriteLine(Application("Visit"))
    > Out.WriteLine(Application("TodayVisit"))
    > Out.WriteLine(Application("Today"))
    > Application.unlock
    > End If
    >
    >
    > End Sub
    >
    > Sub Session_OnEnd
    > Application.Lock
    > Application("CurrentVisitor")=Application("CurrentVisitor")-1
    > Application.UnLock
    >
    > End Sub
    >
    > </SCRIPT>
    >
    >
    -----------------------------------------------------------

    visit.txt ÆÄÀÏÀÌ »ý¼ºµÇÁö ¾Ê¾Æ¼­ ±×·±°Í °°Àºµ¥¿ä...

    È®ÀÎÇØ º¸¼¼¿ä....

    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :