Magick Nekomimi Counter
1.0.0
This is a Magic Counter fork distributed on KENT-WEB.
We have added features to solve the original character code problems and the problem of being overcounted, and have replaced the built-in counter images.
For specific changes, please refer to the following changes.
| item | Before the change | After the change |
|---|---|---|
| Character code | Shift-JIS | UTF8 |
| Line break code | CRLF | LF |
| Counter images | Black background white letters digital | Cat Mimi Counter |
We have added a BOT that has started crawlers and a function that does not count access from overseas.
| file | Contents |
|---|---|
| mgcount.cgi | Counter program itself |
| init.cgi | Configuration File |
| check.cgi | Program for checking settings |
| data/mgcount.dat | Count value recording file |
| gif/0.gif .. 9.gif | Counter images |
./mgcount where CGI works.#!/usr/local/bin/perl on the first line of *.cgi into the Perl pathdata/mgcount.dat , if necessary| file | General server | suExec environment, CGIWrap environment |
|---|---|---|
| data/mgcount.dat | 666 or 606 | 600 |
| check.cgi | 755 or 705 | 701 or 700 |
| init.cgi | 644 or 604 | 601 or 600 |
| mgcount.cgi | 755 or 705 | 701 or 700 |
Settings that can be performed with init.cgi
| Setting items | Contents |
|---|---|
| $cf{limit_time} | This setting eliminates duplicate access for the same visitor. Specify the time to eliminate before returning to the next visit in minutes. If you do not use this function, specify 0 |
| $cf{digit} | Specifies the minimum number of digits for the counter to be displayed. For example, if you specify this as 6 , if the count value is 12 , it will be displayed as 000012 |
| $cf{datfile} | Pass to mgcount.dat |
| $cf{gifdir} | The path to the counter image. Write it in ./path/to/dir format |
| $cf{ignore_bot} | Do not count BOT-like accesses at 1 . Count with 0 |
Write img element in the form of referencing mgcount.cgi as follows:
< img src =" path/to/mgcount.cgi " alt ="" > By trying the following things, you can get a sense of the reasons why it doesn't work.
check.cgi from your browser and do you have any errors?check.cgi from SSH or terminal and is there any errors? 








