Hello,
How I can cancle or jump over to the next if the progress is longer than 1
sec.
He must cancle the fsockopen connection if the host is offline...
Here is my Code:
/////////////////////////////////////////////////////////////////////
$s = explode(" ",microtime());
$Starttime = $s[1]+$s[0];
// AUSWERTUNG HIER ANFANG PING & PORT KONTROLLE ==> ANFANG <==
$socket = @fsockopen($IP, $PO, &$errno, &$errstr);
// AUSWERTUNG HIER ENDE PING & PORT KONTROLLE ==> ENDE <==
$t = explode( " ", microtime() );
$Endtime= $t[1] + $t[0];
$finalzeit = number_format( $Endtime-$Starttime, 3);
/////////////////////////////////////////////////////////////////////