Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help me in my toplist.
11-18-2013, 05:15 PM
Post: #1
help me in my toplist.
my toplist not recent his hits nd hosts....
but me want daily recent hits nd hosts....
demo http://waptops.org/
Find all posts by this user
Like Post Quote this message in a reply
11-29-2013, 09:03 PM (This post was last modified: 11-29-2013 09:06 PM by sniper.)
Post: #2
RE: help me in my toplist.
billy said me see this file......

<?php
define('NTOP', 1);
require_once ('../system/connect.php');
require_once ('../system/core.php');
require_once ('../system/function.php');
$update = mysql_query("UPDATE `".$prefix."sait` SET `hosts` = '0', `hits` = '0', `in` = '0', `out` = '0'");
$saits = mysql_query("SELECT * FROM `".$prefix."sait`");
while($row = mysql_fetch_array($saits))
{
$pr=getpr($row['url']);
$cy=getCI($row['url']);
$up = mysql_query("UPDATE `".$prefix."sait` SET `pr`='".$pr."', `cy`='".$cy."' WHERE `id` = '".$row['id']."'");
}
mysql_query("TRUNCATE TABLE `".$prefix."online`");
mysql_query("TRUNCATE TABLE `".$prefix."sait_online`");
mysql_query("OPTIMIZE TABLE `".$prefix."online`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait_online`");
mysql_query("OPTIMIZE TABLE `".$prefix."cat`");
mysql_query("OPTIMIZE TABLE `".$prefix."go`");
mysql_query("OPTIMIZE TABLE `".$prefix."hits`");
mysql_query("OPTIMIZE TABLE `".$prefix."hosts`");
mysql_query("OPTIMIZE TABLE `".$prefix."images`");
mysql_query("OPTIMIZE TABLE `".$prefix."ip`");
mysql_query("OPTIMIZE TABLE `".$prefix."ip_name`");
mysql_query("OPTIMIZE TABLE `".$prefix."news`");
mysql_query("OPTIMIZE TABLE `".$prefix."news_comments`");
mysql_query("OPTIMIZE TABLE `".$prefix."reputation`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait_comments`");
mysql_query("OPTIMIZE TABLE `".$prefix."sait`");
mysql_query("OPTIMIZE TABLE `".$prefix."settings`");
mysql_query("OPTIMIZE TABLE `".$prefix."users`");

?>

I am tired about it....
Find all posts by this user
Like Post Quote this message in a reply
11-30-2013, 12:13 PM
Post: #3
RE: help me in my toplist.
I did not say anything about cron file I said go to cpanel and setup a cronjob for running that file......file works fine.

http://otop.comze.com
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-30-2013, 12:20 PM
Post: #4
RE: help me in my toplist.
What is cornjob? Can you xplain me
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-30-2013, 01:32 PM (This post was last modified: 11-30-2013 01:33 PM by sniper.)
Post: #5
RE: help me in my toplist.
thankz billy.....nepsalone its cpanel opz

me set waiting for working or not.....

http://m.3-idiot.com/

500 serve eror billy old script.......

how set this eror...

wap-us.net
Find all posts by this user
Like Post Quote this message in a reply
11-30-2013, 11:40 PM
Post: #6
RE: help me in my toplist.
billy its show me permission denied
Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)