/*
* Copyright (c) 2012 [iPs]TeaM
* Bruno da Silva (email@brunodasilva.com)
* Checar se servidor MMS (Microsoft Streaming) está online em PHP
*
* mmsCheck.exe -> http://www.solidfiles.com/d/d36fd2b876/ (precisa)
* mmsCheck Source -> http://pastebin.com/SXgUTUB0
* www.brunodasilva.com
* www.ips-team.forumeiros.com
*/
// server
$mmsServer = "mms://100automoto.tv/100livesport";
// call executable
exec("mmsCheck.exe " . $mmsServer);
if(file_exists("servidorOnline")) {
unlink("servidorOnline");
// if mms online
echo "MMS Stream Online";
}
else {
// if mms offline
echo "MMS Stream offline";
}