summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/tricode/execute.php
diff options
context:
space:
mode:
authorRefik Hadzialic2011-11-09 18:42:20 +0100
committerRefik Hadzialic2011-11-09 18:42:20 +0100
commitc9c5ce360606570ae9eb01cae68234ac962b7989 (patch)
treeff5d5f9e237223d28a42fc7b8a0cf07ebdea4249 /notFinishedCode/tricode/execute.php
parentdelete unnecessary files (diff)
downloadgsm-selftest-c9c5ce360606570ae9eb01cae68234ac962b7989.tar.gz
gsm-selftest-c9c5ce360606570ae9eb01cae68234ac962b7989.tar.xz
gsm-selftest-c9c5ce360606570ae9eb01cae68234ac962b7989.zip
Tiny changes
Diffstat (limited to 'notFinishedCode/tricode/execute.php')
-rwxr-xr-xnotFinishedCode/tricode/execute.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/notFinishedCode/tricode/execute.php b/notFinishedCode/tricode/execute.php
new file mode 100755
index 0000000..a384da1
--- /dev/null
+++ b/notFinishedCode/tricode/execute.php
@@ -0,0 +1,30 @@
+<html>
+<head>
+<script src='delayedLoading.js' type="text/javascript"></script>
+<!--ADD HERE ALL THE NEEDED META DATA -->
+<title>Network test live results!</title>
+<link rel="stylesheet" href="css/tableCSS.css" type="text/css" media="screen">
+</head>
+<body onscroll="scrollEvent();" onload="loaderInit();">
+<div>
+<?php
+ $ip = "localhost";
+ $port = 34600;
+ $startApp = fsockopen($ip, $port, $errno, $error, 5);
+ if (!$startApp)
+ {
+ printf('ERROR');
+ }
+ else
+ {
+ socket_set_timeout( $startApp, 50); //one should set the number of the longest test, so we can define the timeout
+ fwrite($startApp, "START APP");
+ usleep(500);
+ fclose($startApp);
+
+ }
+?>
+</div>
+</body>
+</html>
+