Em Andamento

servber up down script modification

This one is a very small basic project.

I have this script:

<?php

//########################################

//############## Server Monitor ##############

//###################################################

//###### Free Script by [url removed, login to view] ###############

//################# visit us at ############################

//#### [url removed, login to view] ##################################

//##################### Free PHP/MySQL Scripts Direcotory ##########

//############################################################

$ip = "gscripts.net"; // this is the host of the monitored server

$onlinetext = "On-Line" ; // this is the on-line message

$offlinetext = "Off-Line" ; // this is the off-line message

$port = "80"; // this is the port that you check

if(@fsockopen($ip,$port,$errno,$errstr,1)) {

echo"<a href='http://$ip' target='_blank'><img src='[url removed, login to view]' width='16' height='15' border='0'></a> $onlinetext";

} else {

echo"<img src='[url removed, login to view]' width='16' height='15' border='0'> $offlinetext";

}

?>

And I need to modify it so it will allow me to enter multiple domain names and then see if the server is up or down.

I want to enter the domain names in a list and then get all the icons to appear in a table - with the server name to one side.

Thanks

Habilidades: PHP

Ver mais: line icons, it icons free, click script, UP, php modification, ip monitor, img, border, img table, script src, fsockopen, check table mysql script, free gif, Need Modification, script modify, script message, script height, php script echo, project monitor port, target list, mysql script check table, script modification php, echo script php, script list, need border project

Acerca do Empregador:
( 94 comentários ) Shoreditch, United Kingdom

ID do Projeto: #126480