| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| readme | 2012-03-27 | 1.3 kB | |
| mysql.dump | 2012-03-27 | 1.9 kB | |
| mysql.pm | 2012-03-27 | 930 Bytes | |
| ljstatview.pl | 2012-03-27 | 13.3 kB | |
| ljstat.pl | 2012-03-27 | 3.3 kB | |
| Totals: 5 Items | 20.8 kB | 0 |
Hello.
This is my simple LjStat
Для русскоязычных описание на сайте http://arviol.ru/
How to use it.
1. MySQL
It very good work with MySQL.
If you do not want to work with mysql, then just remove this line:
insert();
on ljstat.pl
1.1 mysql.pm
Here you need username, password and database name:
if( ! ( $sql_user )) { $sql_user="MegaUser"; }
if( ! ( $sql_password )) { $sql_password="MegaPassword"; }
if( ! ( $sql_base )) { $sql_base="MegaDB"; }
Just put here what you have.
2. Using:
When you posting to livejournal, do something like this:
<div style="display:none">
<img src="http://my.server.com/ljstat.pl?topic=ThisIsMyTopic".>
</div>
Where topic is your topic, which will be ID of your post and it will be pointer for you at emails and web-view.
3. LjStatView.
So, here we want not only email reports, but also web page with statistic.
Here we go! =)
Take web server and put ljstat.pl, ljstatview.pl, mysql.pm into public access.
All what you need for work, you need tell Apache something like this:
Options +Includes +ExecCGI
I put it on .htaccess file.
4. Dump of MySQL database also here in file mysql.dump
5. Contacts:
nadz.goldman@gmail.com
ilya@arviol.ru
http://arviol.ru/
or here, on SourceForge.
Sorry for bad English.