GithubHelp home page GithubHelp logo

danwin / hit-counter Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 11.0 45 KB

A hit counter specifically designed for Tor hidden services

Home Page: https://danwin1210.de

License: GNU General Public License v3.0

PHP 100.00%
tor hidden-service hidden-services php hitcounter

hit-counter's Introduction

General information:

This is a set of script to run a hit counter, specifically designed for Tor hidden services. An up-to-date copy can be downloaded at https://github.com/DanWin/hit-counter

Installation instructions:

You'll need to have php with pdo_mysql, pcre and date extension, a web-server and a MySQL server installed. When you have everything installed, you'll have to create a database and a user for the scripts. Then edit the configuration in counter_config.php to reflect the appropriate database settings and to modify the settings the way you like them. Then copy the scripts to your web-server directory and open the setup.php script like this: http://(server)/setup.php Note: If you updated the script, please visit http://(server)/setup.php again, to make sure, that any database changes are applied and no errors occur.

Translating:

Copy counter_lang_en.php and rename it to counter_lang_YOUR_LANGCODE.php Then edit the file and translate the messages into your language and change $I to $T at the top. If you ever use a ' character, you have to escape it by using ' instead, or the script will fail. When you are done, you have to edit counter_config.php, to include your translation. Simply add a line with 'lang_code' => 'Language name', to the $L array below the settings, similar to what I did for the German translation. Please share your translation with me, so I can add it to the official version. To update your translation, you can copy each new string to your translation file or edit the automated lang_update.php script to reflect you language and run it.

hit-counter's People

Contributors

danwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hit-counter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.