Hide your secret files INSIDE photos, videos or other files with OmniHide PRO.
Got this from Vinu’s blog. This simple script will attempt to connect to the site:port using fsockopen to determine if a service is running on the port.
$site = "vinuthomas.com";
$port = 80;
$fp = fsockopen($site,$port,$errno,$errstr,10);
echo "Cannot connect to server";
echo "Connect was successful - no errors on Port ".$port." at ".$site;