Yet a proposition: Would be gr8 if one may see the S1/S2/Demo mode of the host as well...


This is not logged in the hostfile. Except Scawen would implement it.
!
<?php
$lfs_ip = "localhost";
$lfs_port = "63392";
$output = @fsockopen("$lfs_ip", $lfs_port, $errno, $errstr, 0.01);
if (!$output) {
$status = "offline";
} else {
$status = "online";
}
@fclose($output);
// and then ...
if ($status == offline) {
echo "status: offline
} else {
// all the output from vorts script ...
}
I'll implement this into the script and will leave it as it is, because I don't really like to make another fopen and parse my arse of (
) to simply get the mode data.
<?php
$mode = shell_exec('grep mode /path/to/setup.cfg');
echo "mode: ";
echo substr("$mode", 6);
?>

!
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xxx/xxx/xxx/lfshosts/server.php on line 155
Not tested very well *shame*
It should be fixed now, made an error in the car list.
sorry, sorry, sorryStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus: offlineStatus
k, sorry about this, I unfortunately did not had the time to proper test the new version.

Thanks a lot!
Had a lot to do, so the progress wasn't very fast.