Location: PHPKode > scripts > Server Status > ServerStatus/index.php
<?php include('config.php') 

?>

<html>
<head>
<title>Server Status - Main</title>
</head>


<body>

<center><p><h3>Server Status</h3></p></center>

<p>

<?




echo "<table border='1' width='100%'>";
echo "	<tr><td width='20%'> Website Name </td>		<td width='10%'> Website </td> 		<td width='10%'> Ftp </td> 		<td width='10%'> MySQL </td> 		<td width='10%'> Telnet </td> 		<td width='10%'> SSH </td></tr>";

foreach ($server as $value	)
	{	
	$hostname = $value;
	echo "<tr><td width='20%'> $hostname </td>		<td width='10%'><img src='image.php?host=$hostname&port=80'></td> 		<td width='10%'> <img src='image.php?host=$hostname&port=21'></td> 		<td width='10%'>  <img src='image.php?host=$hostname&port=3306'> </td> 		<td width='10%'>  <img src='image.php?host=$hostname&port=23'></td> 		<td width='10%'>  <img src='image.php?host=$hostname&port=22'> </td></tr>";
	}


?>

</font>
<p><font size=1><center>Server Status Script <a href="http://www.derekmcdaniel.net">www.derekmcdaniel.net</a></center>
</body>
</html>
Return current item: Server Status