⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.htm

📁 Controled counter delphi
💻 HTM
字号:
<HTML><BODY>
<!--

  TEST.HTM, for testing DCOUNTER.EXE
  by Dave Wedwick (dwedwick@bigfoot.com)
  July, 1997

  This is an example of how to use DCOUNTER.EXE as a page counter.
  DCOUNTER.EXE lets Win95/NT web servers use any font as the
  style of the counter.  For instance, you can make a counter
  that displays in Times Roman font, 30 pixels high, choose the color,
  etc.

  To see this example,

    1)  Copy DCOUNTER.EXE to the cgi-bin directory.

    2)  Make a subdirectory off of the cgi-bin called DCOUNT (like:
        E:\SERVER\CGI-BIN\DCOUNT).

    3)  Create the file test.dat and put any value into it.  Easy from
        the DOS command line:

           Type COPY CON TEST.DAT [ENTER] 1234 ^Z

        (^Z is Ctrl-Z)

    4)  Bring this file up through the web server in a browser.

  ------------------------------------------------------------------------

  At a minimum, there has to be a line like:

    <IMG SRC="/cgi-bin/dcounter.exe">

  Then, append a '?' after dcounter.exe and add on the parameters.
  Each parameter is added as a "key=value" pair, like:

    <IMG SRC="/cgi-bin/dcounter.exe?fontname=times+roman">

  When adding on parameters, note:

    No spaces are allowed.  Spaces are represented as '+'
       (Example:  times+roman)

    Ampersands ('&') separate the "key=value" pairs

    The equals sign ('=') separates the keys from the values

  The parameters are:

    FontName       The font in which to display the counter

    FontHeight     The height (in pixels)

    FontColor      The color of the font in hex (like FF88AA)

    BGColor        The color of the background in hex

    NumWidth       The number of digits wide (default is 5, set
                   to 0 to have the counter show as few as
                   possible)

    FileName       The filename in which the counter data is
                   retrieved/stored.  This would be a different
                   value for each page that uses the counter.
                   The filename is assumed to be relative to where
                   DCOUNTER.EXE resides, unless a drive letter
                   is given.

                   Examples:

                      filename=\dcount\test
                      This is in a subdirectory like:
                        E:/server/cgi-bin/dcount, filename is test.

                      filename=c:\temp\test.dat
                      This is in c:\temp and the filename is test.dat.

-->

<CENTER>

You are visitor number<BR>
<IMG SRC="/cgi-bin/dcounter.exe?fontheight=30&fontname=arial&fontcolor=FFFFFF&bgcolor=000000&filename=\dcount\test.dat&numwidth=0">

</CENTER>
</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -