Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   How i can disable a block (http://www.bvlist.com/showthread.php?t=7260)

bilutza 27th November 2011 10:56

How i can disable a block
 
I have TorrentStrikeFullyModded and it gives me a error on index on server load block.

PHP Code:

Error:


Warningexec() has been disabled for security reasons in /home/a7156067/public_html/index.php on line 458 


This error can be fixed?I f not how i can disable server load block?
Thank you.

\n");

print (date("l d<\sup>S F Y h:i A"));

$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;
echo "
Global Server Load (All websites on  current host servers): ($percent %)
Timisoreanul 28th November 2011 13:09

Hey , you can remove that part of code that give you error .. this:
Code:

begin_frame("Server load",true,5);?>
function getmicrotime(){
    list($usec, $sec) = explode(" ",microtime());
    return ((float)$usec + (float)$sec);
    }
$time_start = getmicrotime();
$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;

$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;
echo "
Our Tracker Load: ($percent  %)
";

//TRACKER LOAD
if ($percent <= 70) $pic_base_url = "pic/loadbargreen.gif";
    elseif ($percent <= 90) $pic_base_url = "pic/loadbaryellow.gif";
      else $pic_base_url = "pic/loadbarred.gif";
          $width = $percent * 4;
echo "$percent%
";
echo "
" . trim(exec('uptime')) . "
";

if (isset($load))
print("
10min load average  (%)$load
";

if ($percent <= 70) $pic_base_url = "pic/loadbargreen.gif";
  elseif ($percent <= 90) $pic_base_url = "pic/loadbaryellow.gif";
  else $pic_base_url = "pic/loadbarred.gif";
        $width = $percent * 4;
echo "$percent%
";
?>


So remove that ( from line 437 to 476 ) end save file & upload to host.
Good luck

All times are GMT +2. The time now is 11:55.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.