i got one script to do this:
Code:
$user = "";
$pass = "";
$servidor = "xx.xx.xx.xx";
$page = @file_get_contents("https://$user:$pass@$servidor:2087/scripts/servup");
$int = preg_match("/<center>\s+?<table>.*?<\/table><\/center>/is",$page, $match);
echo '<html>
<head>
<style>
.tbcell {
font: normal 11px Arial, Helvetica, Tahoma, Verdana, sans-serif;
text-decoration: none;
color: #4B4B4B;
}
</style>
</head>
<body>
<table width="100%">
<tr>
<td align="center" class="tbcell">
<b>Status do Servidor:</b> '.$servidor.'<br><br>';
if($int) {
echo str_replace('src=/','src=',$match[0]);
}
else {
echo 'Unable to access server status. Please try again later.';
}
echo '</td>
</tr>
</table>';