Hello team I have function that check url is down or UP
public function checkSystem()
{
$content = file_get_contents("http://policy.fetty.go.com/user/login");
if (strpos($content, 'Fatal error') !== false)
{
echo("<span class='offline'>Down</span>");
}
else
{
echo("<span class='Up'>Up</span>");
}
}
I want to be able to check more than one url please assist
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire