Hi David,
kannst du mir bitte weiterhelfen:
exec() wenn die datei z.B. copy heisst, wie binde ich das in dieses php funktion ein??
<?php
$str=exec("ping -c 1 -w 1 192.168.1.216",$a,$a1);
print "<table>";
if(strlen($str)>1){
print"<tr><td bgcolor='#fff000'>present</td></tr>";
}else{
print"<tr><td bgcolor='#000000'>Not present</td></tr>";
}
print "</table> ";
?>