big-moving.ru/api/soft/counter/README.html

139 lines
10 KiB
HTML
Executable File

<html>
<head>
<title>WR-Counter - âåðñèÿ 1.3</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta http-equiv="Content-Language" content="ru">
<META name="description" content="Îïèñàíèå ñ÷¸ò÷èêà íà PHP. WR-Counter - Ñ÷¸ò÷èê ñî ñòàòèñòèêîé.">
<META name="keywords" content="WR-Counter, ñêðèïò ñ÷¸ò÷èêà, ñêðèïòû, php-ñêðèïò, Ñ÷¸ò÷èê ñî ñòàòèñòèêîé">
<meta name="Resource-type" content="document">
<meta name="Robots" content="index,follow">
<style>
body {background-color: #FFF; margin: 0px; padding: 0px;}
body {scrollbar-arrow-color: #3B88C5; scrollbar-face-color: #FFFFFF; scrollbar-track-color: #E0E0E0; scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #C0C0C0; scrollbar-shadow-color: #FFFFFF; scrollbar-darkshadow-color: #B0B0B0;}
font,th,td,p {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
a {text-decoration: underline; color: #3B88C5;}
a:visited {text-decoration: underline; color: #3279B2;}
a:hover, a:active {text-decoration: underline; color: #FF9C00;}
hr {height: 0px; border: solid #3888C7 0px; border-top-width: 1px;}
td.row2 {background-color: #FFF;}
table.forumline {background-color: #FFBE7D;}
table.forumline:hover {background-color: #B0B0B0;}
.mainfont {COLOR:#882D00; TEXT-DECORATION:none}
</style>
</head>
<body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
<table width=80% cellspacing=0 cellpadding=10 align=center><tr><td class=bodyline>
<table width=100% cellspacing=0 cellpadding=0><tr><td align="center" width="100%" valign="middle"><span class="maintitle"><h3>WR-Counter &copy; âåðñèÿ 1.3</h3></span></td></tr></table>
<table width=100% cellpadding=4 cellspacing=2 class=forumline>
<tr><th width=100% colspan=2 class=thCornerL height=25 nowrap=nowrap><font class="mainfont">:: <b>Íàçíà÷åíèå ñêðèïòà</b> ::</font></th></tr>
<tr><td width=100% class=row2 valign=middle>
<B>WR-Counter - Ñêðèïò ãðàôè÷åñêîãî ñ÷¸ò÷èêà ñ ïðîñòîé ñòàòèñòèêîé</B>. Ïîêàçûâàåò õèòû è õîñòû çà äåíü, îáùåå êîëè÷åñòâî ïîñåùåíèé ñ ìîìåíòà óñòàíîâêè ñ÷¸ò÷èêà.
Èìååòñÿ <B>ïîäðîáíàÿ ñòàòèñòèêà ïîñåùåíèÿ ñòðàíèö ïî äíÿì</B>. Ïåðèîä, çà êîòîðûé õðàíèòñÿ ñòàòèñòèêà íàñòðàèâàåòñÿ. <B>Ñòàðûå äàííûå - àâòîìàòè÷åñêè óäàëÿþòñÿ.</B>
<B>Ñ÷¸ò÷èê â êà÷åñòâå ÁÄ èñïîëüçóåò ôàéëû</B>. Ïðîñòàÿ ñòðóêòóðà äàííûõ ïîçâîëÿåò ëåãêî è áûñòðî óñòàíîâèòü/ïåðåíåñòè ñêðèïò áåç ïîòåðè äàííûõ â ëþáóþ ïàïêó êàê íà ñåðâåðå, òàê è íà äðóãîé ñàéò. Ðàçìåð ñêðèïòà: <B>47 Êá</B>.<BR>
Ïðèìåð: <a href="http://www.wr-script.ru/counter/info.php" title="Ñêðèïò ñ÷¸ò÷èêà">Ñòàòèñòèêà ïîñåùåíèé ñàéòà WR-Ñêðèïò.ÐÓ</a>.</td></tr>
<tr><th width=100% colspan=2class=thCornerL height=25 nowrap=nowrap><font class="mainfont">:: <b>Âîçìîæíîñòè</b> ::</font></th></tr>
<tr><td width=100% class=row2 valign=middle>
- <B>ïîäñ÷¸ò õèòîâ/õîñòîâ çà ñóòêè</B>;<BR>
- <B>âûâîä ñòàòèñòèêè</B> ïî äàòàì ïîñåùåíèÿ çà ïðîøåäøèå N ñóòîê;<BR>
<center><B>Àäìèíèòåðôåéñ ñ âîçìîæíîñòüþ:</B><BR></center>
- <B>âûáîð â àäìèíêå ðèñóíêà ñ÷¸ò÷èêà</B> èç 8-è PNG-øàáëîíîâ, âõîäÿùèõ â êîìïëåêò;<BR>
- <B>íàñòðîéêà öâåòà öèôð</B>, îòîáðàæàþùèõñÿ íà ñ÷¸ò÷èêå;<BR>
- âîçìîæíîñòü <B>îòïðàâëÿòü íà åìàéë ñòàòèñòèêó</B> ïîñåùåíèé àäìèíó;<BR>
- âûáîð ïåðèîäè÷íîñòè <B>ðàññûëêè ñòàòèñòèêè</B> àäìèíèñòðàòîðó;<BR>
- âûáîðà <B>ïàïêè äëÿ ñáîðà ñòàòèñòèêè</B>;<BR>
- âûáîð êàê îòîáðàæàòü <B>ñòàòèñòèêó (ãîðèçîíòàëüíî/âåðòèêàëüíî)</B>;<BR>
- <B>èçìåí¸í ñïîñîá àóòåíòèôèêàöèè - ïðèìåíÿåòñÿ øèôðîâàíèå MD5</B>.<br>
<HR size=-1>
Èçìåíåíèÿ â íîâîé âåðñèè:<br>
- ñòðàíèöà ñòàòèñòèêè óëó÷øåíà: òåïåðü ìîæíî ïðîñìàòðèâàòü ñòàòèñòèêó ïî ïðîñìîòðåííûì ñòðàíèöàì çà êàæäûé äåíü, âèäåòü íà ãðàôèêå âûõîäíûå äíè;<br>
- ïîäñ÷èòûâàåòñÿ òàêæå êîëè÷åñòâî ïðîñìîòðåííûõ ñòðàíèö, èìåþòñÿ ññûëêè äëÿ ïåðåõîäà íà ýòè ñòðàíèöû;<br>
- èìååòñÿ ôèëüòð ïî ñòðàíèöàì;<br>
- ñòðàíèöà àäìèíèñòðèðîâàíèÿ çàùèùåíà îò âçëîìà;<br>
</td></tr>
<tr><th width=100% colspan=2 class=thCornerL height=25 nowrap=nowrap><font class="mainfont">:: <b>Óñòàíîâêà è èñïîëüçîâàíèå</b> ::</font></th></tr>
<tr><td width=100% class=row2 valign=middle>
1. Ñîçäàéòå ïàïêó íà Âàøåì ñåðâåðå, íàïðèìåð "<B><font color="FF0000">counter</font></b>". Ïîäêëþ÷èòåñü ê ñåðâåðó ïî FTP è çàêà÷àéòå â ýòó ïàïêó âñå ôàéëû è êàòàëîãè. <BR>
Âûñòàâèòå åé àòðèáóòû Chmod <B><font color="FF0000">755</b></font><BR>
Çàêà÷èâàòü è íàñòðàèâàòü àòðèáóòû ñêðèïòà ìîæíî ìåíåäæåðîì "<B><font color="FF0000">Total Commander</font></b>".(Ôàéë -> Èçìåíèòü àòðèáóòû). <BR>
<hr color=#224488 size=-1 width=100%>
2. Äàëåå óêàçàí <B>ñîñòàâ ñêðèïòà</B> è <B>ïðàâà äîñòóïà</B>, êîòîðûå íåîáõîäèìî âûñòàâèòü ôàéëàì è ïàïêàì:<BR>
<table width=100% border=1 cellspacing=0 cellpadding=3><tr align=center><td>Ôàéëû / îïèñàíèå</td><td>Ïðàâà äîñòóïà</td></tr><tr><td>
<li><B><font color="FF0000">index.php</b></font> - ïðèìåð çàïóñêà;</li></td><td rowspan=6 align=center><B><font color=red>755</font></b></td></tr><tr><td>
<li><B><font color="FF0000">counter.php</b></font> - ãëàâíàÿ ñòðàíèöà ñ÷¸ò÷èêà;</li></td></tr><tr><td>
<li><B><font color="FF0000">info.php</b></font> - èíôîðìàöèÿ ïî ñóòî÷íîé ïîñåùàåìîñòè çà ÕÕ äíåé;</li></td></tr><tr><td>
<li><B><font color="FF0000">infomail.php</b></font> - àâòîðàññûëüùèê ñòàòèñòèêè íà åìàéë àäìèíó;</li></td></tr><tr><td>
<li><B><font color="FF0000">admin.php</b></font> - ìîäóëü àäìèíèñòðàòîðà;</li></td></tr><tr><td>
<li><B>ïàïêà <font color="FF0000">"images"</b></font> - ñ øàáëîíàìè ñ÷¸ò÷èêà è èíô. ðèñóíêàìè (16 øò.);</li></td></tr><tr><td>
<li><B><font color="FF0000">README.html</b></font> - ýòîò ôàéë;</li></td><td align=center><B><font color=red>-</font></b></td></tr><tr><td>
<li><B>ïàïêà <font color="FF0000">"data"</b></font> - ñî ñòàòèñòèêîé ñ÷¸ò÷èêà;</li></td>
<td rowspan=2 align=center><B><font color=red>666 / 777</font></b></td></tr><tr><td>
<li><B><font color="FF0000">config.php</b></font> - ôàéë ñ íàñòðîéêàìè.</li></td></tr>
</td></tr></table><BR>
3. Íà ëîêàëõîñòå ïðàâà äîñòóïà ñòàâèòü íå íóæíî. Ïðàâà íåîáõîäèìî âûñòàâëÿòü òîëüêî íà ñåðâåðàõ â Èíòåðíåòå. Äàííûå ïðàâà äîñòóïà èñïîëüçóþòñÿ íà áîëüøèíñòâå ñåðâåðîâ.
 ñëó÷àå, åñëè ñêðèïò íå çàïóñêàåòñÿ è âûâîäèòñÿ îøèáêà <B>"Permise Denied"</B> - ñêîðåå âñåãî Âû íåâåðíî óñòàíîâèëè ïðàâà èëè ÷òî òî ñäåëàëè íå òàê. <BR>
Ìîæåòå ïîñìîòðåòü <B><a href="http://www.wr-script.ru/info/upload-and-chmod.php" title="íàñòðîéêà chmod ïðàâ îñòóïà">ñòàòüþ ïî íàñòðîéêå ïðàâ äîñòóïà</a>.</B></font><BR>
Åñëè ñêðèïò íå çàðàáîòàë, íå áîéòåñü ýêñïåðèìåíòèðîâàòü: èçìåíÿéòå àòðèáóòû <B>êàòàëîãîâ è ôàéëîâ.</B><BR>
Èíîãäà, <B>íà "ñîìíèòåëüíîì" õîñòèíãå, ñêðèïò çàïóñêàåòñÿ ñ àòðèáóòàìè 777</B> (âìåñòî 755) è <B>666</B> (âìåñòî 644) äëÿ ôàéëîâ è ïàïîê ñîîòâåòñòâåííî ñîãëàñíî òàáëèöå. <B>Ëèáî 777 äëÿ âñåõ ôàéëîâ.</B><BR>
<hr color=#224488 size=-1 width=100%>
4. Ïîïûòàéòåñü çàïóñòèòü ñêðèïò ññûëêîé òàêîãî òèïà: <B>http://Ìîé_ñàéò/counter/index.php</B>.<BR>
Äëÿ òîãî, ÷òîáû âêëþ÷èòü ñ÷¸ò÷èê íà Âàøó ñòðàíèöó, äîñòàòî÷íî ñêîïèðîâàòü êîä â ôàéëå index.php è âñòàâèòü íà ëþáóþ
âàøó ñòðàíèöó (php èëè html). <BR>
Àäìèíïàíåëü çàïóñêàéòå ññûëêîé âèäà: <B>http://Ìîé_ñàéò/counter/admin.php</B>. Ëîãèí è ïàðîëü ïî óìîë÷àíèþ <B>admin</B>.
<hr color=#224488 size=-1 width=100%>
5. <B><font color="FF0000">Âíèìàíèå!</font> Äëÿ îòîáðàæåíèÿ èíôîðìàöèè è ðàáîòû ñ ãðàôèêîé ñêðèïò èñïîëüçóåò áèáëèîòåêó GD âåðñèè 2.0.</B>
Åñëè Âàø ñåðâåð íå ïîääåðæèâàåò ýòó áèáëèîòåêó - ó âàñ ñêðèïò ðàáîòàòü íå áóäåò.<BR>
äëÿ òîãî ÷òîáû óçíàòü, åñòü ëè äàííàÿ áèáëèîòåêà. Íåîáõîäèìî ñîçäàòü php-ôàéë ñî ñëåäóþùèì ñîäåðæàíèåì:<BR>
<center><font color=red>&lt;?php
phpinfo();
?&gt; </font></center>
Çàïóñòèòü åãî è âíèìàòåëüíî ïîèñêàòü ñâåäåíèÿ î <B>GD-áèáëèîòåêå.</B> Åñëè åñòü äàííûå â ýòîé ãðàôå
(óêàçàíà âåðñèÿ, íàïðèìåð <B>2.00.36</B> è âûøå.), çíà÷èòü, ñêðèïò ðàáîòàòü áóäåò.
<hr color=#224488 size=-1 width=100%>
6. Âàø îòçûâ èëè ïðåäëîæåíèÿ ïî ìîäåðíèçàöèè ñêðèïòà ìîæåòå îñòàâëÿòü íà ôîðóìå.<BR>Åñëè âñå ïóíêòû âû âûïîëíèëè, à ñêðèïò òàê è íå çàïóñòèëñÿ, íó ÷òîæ,
çàõîäèòå íà <B><a href="http://www.wr-script.ru/forum/" title="Ôîðóì íà ñàéòå áåñïëàòíûõ ñêðèïòîâ WR-Ñêðèïò.ÐÓ">ôîðóì ïî WR-Ñêðèïòàì</a></B>
è â ðàçäåëå <B>"WR-Script / WR-Counter"</B> ïðîñìîòðèòå òåìû, âîçìîæíî ðåøåíèå Âàøåé ïðîáëåìû óæå åñòü íà ôîðóìå.
Åñëè íåò - çàäàâàéòå âîïðîñû. Ïîñòàðþñü Âàì ïîìî÷ü.
</td></tr>
<tr><th width=100% colspan=2 class=thCornerL height=25 nowrap=nowrap><font class="mainfont">:: <b>Ëèöåíçèÿ</b> ::</font></th></tr>
<tr><td width=100% class=row2 valign=middle>
À) Ïîëüçîâàòüñÿ <B>WR-Counter &copy; ìîæíî àáñîëþòíî áåñïëàòíî ïðè âûïîëíåíèè ñëåäóþùèõ óñëîâèé:</B><BR>
&nbsp;&nbsp;&nbsp; 1. Âû íå áóäåòå âûäàâàòü ãäå-ëèáî äàííûé ñêðèïò êàê ñâîþ ðàçðàáîòêó;<BR>
&nbsp;&nbsp;&nbsp; 2. <B>Êîïèðàéò âèäà <font size=-2 color="FF0000">Powered by <a href="http://www.wr-script.ru" target="_blank" title="WR-Counter"><font color=#FF0000>WR-Counter</font></a></font> äîëæåí ïðèñóòñòâîâàòü íà ñòðàíè÷êàõ ñòàòèñòèêè è â àäìèíêå.</B>
<BR>
Á) Âëàäåëüöàì ñàéòîâ ðàçðåøàåòñÿ ìåíÿòü èñõîäíûé êîä ôàéëîâ, íî ñ ñîõðàíåíèåì êîïèðàéòåðà.<BR>
Â) Ïðèâåòñòâóåòñÿ ìàòåðèàëüíîå ïîîùðåíèå àâòîðà ;-) Ìîè ðåêâèçèòû íà ãëàâíîé ñàéòà: <a href="http://www.wr-script.ru" title="WR-Ñêðèïò.ÐÓ">http://www.wr-script.ru</a><BR>
Ã) Äðóçüÿ, óâàæàéòå òðóä àâòîðà - íå óäàëÿéòå ëèíê âíèçó ñòðàíèöû íà ñàéò àâòîðà. È áóäåò Âàì ñ÷àñòüå ;-).<BR>
Ä) Âñåì ó êîãî â ñ÷¸ò÷èêå íåò ññûëêè íà ìîé ñàéò <B>ÁÅÑÏËÀÒÍÀß ïîääåðæêà ÍÅ ÎÊÀÇÛÂÀÅÒÑß.</B><BR>
Å) <B>WR-Counter</B> ðàñïðîñòðàíÿåòñÿ ïî ïðèíöèïó "as is" (<B>"êàê åñòü"</B>). Ýòî îçíà÷àåò, ÷òî âû ïîëüçóåòåñü ïðîäóêòîì íà ñâîé ðèñê. Àâòîð íå äàåò íèêàêèõ ãàðàíòèé è íå íåñåò íèêàêîé îòâåòñòâåííîñòè çà âîçìîæíûé óùåðá è óáûòêè ëþáîãî ðîäà.
</td></tr></table>
<center><small>Powered by <a href="http://www.wr-script.ru/" title="Áåñïëàòíûå ñêðèïòû php" target="_blank">WR-Counter</a> &copy; âåðñèÿ 1.3<br></small>
<pre>
###############################################
# Ðàçðàáîò÷èê ñêðèïòà: WR (Gavrilov Mikhail) #
# Èìÿ ñêðèïòà: WR-Counter #
# Âåðñèÿ ñêðèïòà: 1.3 #
# Ñòàòóñ: Áåñïëàòíûé ñêðèïò #
# Òðåáîâàíèÿ: PHP 4.3.0, GD-áèáëèîòåêà 2.0.36 #
# Äàòà ðàçðàáîòêè: 24 èþëÿ 2012 ãîäà #
# Ñòðàíèöà: http://www.wr-script.ru/ #
# E-mail: http://www.wr-script.ru/sendmail/ #
###############################################
</pre>
</body>
</html>