From 770a80f1db25a8436dd52a1407858632644c8583 Mon Sep 17 00:00:00 2001 From: Corentin Breton Date: Wed, 15 Jun 2016 14:36:26 +0200 Subject: =?UTF-8?q?Ajout=20de=20couleur=20et=20de=20la=20gestion=20de=20to?= =?UTF-8?q?us=20les=20sites=20=C3=A0=20avoir=20en=20retour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.php | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 75 insertions(+), 11 deletions(-) (limited to 'app.php') diff --git a/app.php b/app.php index 87f9483..e4c15df 100644 --- a/app.php +++ b/app.php @@ -1,14 +1,78 @@ + + + + Status + + +
UP
".$retcode." ".$url.""; + } elseif (404==$retcode) { + echo "
UP
".$retcode." ".$url."
"; + } elseif (401==$retcode) { + echo "
UP
".$retcode." ".$url."
"; + } elseif (501==$retcode) { + echo "
UP
".$retcode." ".$url."
"; + } else { + echo "
DOWN
".$retcode." ".$url."
"; + } } ?> + + -- cgit v1.2.1