From b38f67b7162f7d3e5ca75eae58be06163879d22c Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Fri, 18 Nov 2011 02:44:10 +0100 Subject: found error on the smart test --- Under-Testing/Website/mutexSmartTest.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Under-Testing/Website/mutexSmartTest.php') diff --git a/Under-Testing/Website/mutexSmartTest.php b/Under-Testing/Website/mutexSmartTest.php index 26e51dc..a44b121 100644 --- a/Under-Testing/Website/mutexSmartTest.php +++ b/Under-Testing/Website/mutexSmartTest.php @@ -125,7 +125,18 @@ if ($locking == '1') '; - ob_implicit_flush(1); + ob_implicit_flush(1); + sleep(6); + $pings = mysql_query("select * from PingResultTable where taskNo=(select max(taskNo) from PingResultTable)"); + + while($row = mysql_fetch_array($pings)) + { + $SIPP = $row['sipServer']; + $LANDLINEP = $row['sipGate']; + $UNISIPP = $row['unisip']; + $NANOBTS1P = $row['gsmBox1']; + $NANOBTS2P = $row['gsmBox2']; + } } elseif ($received == "TEST DONE\n") { -- cgit v1.2.3-55-g7522