'.$cmd.''; } else { $cmd = shell_exec( 'ping -c 3 ' . $target ); $html .= '
'.$cmd.'
'; } } else { $html .= '
ERROR: You have entered an invalid IP
'; } } ?>