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
2023-04-30 21:50:11 +02:00

17 lines
463 B
PHP

<?php
// include "../include/standard.inc.php";
$ftpnb=exec("ftpwho | wc -l");
if ($ftpnb>=3)
$ftpnb -=2;
echo "<CENTER>";
echo "Connecté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>