summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/tricode/execute.php
diff options
context:
space:
mode:
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>
+