well, hi guys! im slowly getting back to my old life with some free time, and lately im playing with php, and saw this question, in php i create a small status window in php wich tells me if my pages/web-services are running ok.
my hfs at home i check with this code
<?php
if(fsockopen('ledufe.no-ip.info', 2222, $errno, $errstr, 5) !== false)
{
echo 'HFS' . " Online!";
}
else
{
echo 'HFS' . " Offline!";
}
?>
hope it helps
i also got a way to do this in javascript using xmlhttp request, and it works too, but since there are so many paranoics people that dont trust in javascript, i prefer to not use it...