n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/modules/stats.php

18 lines
463 B
PHP
Raw Normal View History

2023-04-30 21:28:42 +02:00
<?php
// include "../include/standard.inc.php";
$ftpnb=exec("ftpwho | wc -l");
if ($ftpnb>=3)
$ftpnb -=2;
echo "<CENTER>";
echo "Connect<EFBFBD>s<br>";
echo "<b>web</b>: ".nb_visiteurs_connecte(30)." | <b>ftp</b>: $ftpnb<br>";
?>
<br>Bande Passante<br>
<b>in</b>: <?php include "tmp/input.txt"; ?><br>
<b>out</b>: <?php include "tmp/output.txt"; ?><br>
<!-- The bandwidth bar program is available at:
http://www.kernel.org/pub/software/web/bwbar/ -->
</CENTER>
<br>