Day Counter(アクセスカウンタ)インストール

by taguchi 29. December 2008 18:50

事前準備

1.Day Counterをダウンロードし解凍する。

下記のサイトからダウンロード可能です。
http://www.kent-web.com/
http://www.kent-web.com/count/daycount.html(Day Counterのページ)

 

2.カウンター用の画像を準備する。

1~10までのカウンタ画像(GIFファイル)を2種類用意し、ファイル名を"0.gif, 1.gif,....9.gif"とする。

今回は「なまらホームページ」のカウンタを使用する。

なまらホームページ
http://nmr.gayou.org/

 

3.設置

3.1.「C:\inetpub\wwwroot」にdaycountフォルダを作成する。

3.2.daycountフォルダに解凍して出来た3つのファイルをコピーする。

3.3.daycountフォルダにgif1,gif2フォルダを作成し、カウンター用の画像をコピーする。

gif1  :  総カウント数の画像
gif2  :  昨日のカウント数、本日のカウント数用の画像

3.4.IUSRユーザーにdaycount.datの「読み取り」「書き込み」権限を与える。

3.5.daycounterを使用するhtmlを作成し設置する。

例)daycounter/index.htm

 <html>
<head></head>
<body>
累計:<img src="daycount.cgi?gif" />人目<br />
本日:<img src="daycount.cgi?today">人目<br />
昨日:<img src="daycount.cgi?yes">人
</body>
</html>

 

4.ブラウザでアクセスし、下記のように表示されれば正常です。

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Day Counter

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen