CGI
TOP----index---indxNT--


NTと95で動作するアクセスカウンタは、以下のページからダウンロードできます。

http://www.geocities.com/SiliconValley/6742/

Perlのインストールを先にすましておきます。


counter.zipを解凍しディレクトリ構成をそのままに/cgi-binフォルダにいれ、コンフィグを編集する。以下がその構成。

 

counter.exe---実行ファイル

counter.cfg---コンフィグファイル

digits---gifが入ったフォルダ

doc---ドキュメントが入っているフォルダ

 

また、all.zipにはカウンター画像用の多数のgifが入っている。

counter.cfgは以下のように編集する[Allow-Access-To]の次の行にドットをわすれないように。

 
[No-Increment-For]

[Allow-Access-To]

.

ウェッブページに以下のタグを入力する


    <html>
    <body>

    <img src="/cgi-bin/counter.exe?link=http://localhost&style=led">

    </body>
    </html>

http://localhostは自分のサーバのURL
ここの場合は、http://www2.algo.setagaya.tokyo.jpなので以下のようになる。

    <img src="/cgi-bin/counter.exe?link=http://www2.algo.setagaya.tokyo.jp&style=led">


カウンターの桁とgifを設定する

    <html>
    <body>

    <imgsrc="/cgi-bin/counter.exe?link=http://localhost&width=6&style=neat">

    または

    <imgsrc="/cgi-bin/counter.exe?link=http://localhost&width=6&style=neat">

    </body>
    </html>

neatとは、gifの入っている画像フォルダ
width=は、桁数。ここでは6桁になっている。


TOP----index---indxNT--