my current script
<?php
$server="64.22.88.246";
$port="1176";
$timeout="1";
if ($server and $port and $timeout) {
$verbinding = @fsockopen("$server", $port, $errno, $errstr, $timeout);
}
if($verbinding) {
echo "<img src='./online.gif'>";
}
else {
echo "<img src='./offline.gif'>";
}
?>
i was wondering if i could also make it echo how many connections are actually on the port.
for example 10 Users online!