www-thermferm/index.php

changeset 155
0d86f3c0a07b
parent 134
f05601490415
child 168
1288dbf0f9b5
equal deleted inserted replaced
154:83502d2099eb 155:0d86f3c0a07b
24 /* 24 /*
25 * Look for the style names in the jqwidgets/styles directory. 25 * Look for the style names in the jqwidgets/styles directory.
26 */ 26 */
27 $my_style = 'ui-redmond'; 27 $my_style = 'ui-redmond';
28 28
29 require_once('utilities.php');
29 require_once('liveview.php'); 30 require_once('liveview.php');
31
32
33
34 /*
35 * Handle the post events
36 */
37 if (isset($_POST['mode']) && isset($_POST['UUID'])) {
38 send_cmd('UNIT '.$_POST['UUID']);
39 send_cmd('MODE '.$_POST['mode']);
40 }
41
30 42
31 43
32 $outstr = '<!DOCTYPE html>'.PHP_EOL; 44 $outstr = '<!DOCTYPE html>'.PHP_EOL;
33 $outstr .= '<html>'.PHP_EOL; 45 $outstr .= '<html>'.PHP_EOL;
34 $outstr .= ' <head>'.PHP_EOL; 46 $outstr .= ' <head>'.PHP_EOL;
64 $outstr .= ' </body>'.PHP_EOL; 76 $outstr .= ' </body>'.PHP_EOL;
65 $outstr .= '</html>'.PHP_EOL; 77 $outstr .= '</html>'.PHP_EOL;
66 78
67 echo $outstr; 79 echo $outstr;
68 80
81 echo "_GET ";
82 print_r ($_GET);
83 echo "<br> _POST ";
84 print_r ($_POST);
85

mercurial