From 0a8ab3b66a74c396705adf7db833209281d3628a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 3 Dec 2006 04:16:39 +0000 Subject: Show header and footer. --- packages/arping/arping.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packages/arping') diff --git a/packages/arping/arping.inc b/packages/arping/arping.inc index 22520209..193d031d 100644 --- a/packages/arping/arping.inc +++ b/packages/arping/arping.inc @@ -35,9 +35,17 @@ function arping_package_reinstall() { } function arping_package_php_command() { + $pgtitle = "Services: Arping"; + include("head.inc"); + + echo ""; + include("fbegin.inc"); + echo "

{$pgtitle}

"; + echo "
";
-	exec("arping {$hostip}");
+	system("arping -c3 " . $_POST['hostip']);
 	echo "
"; + exit; } function arping_package_resync() { -- cgit v1.2.3