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."
"; } } ?>