www-thermferm/index.php

changeset 168
1288dbf0f9b5
parent 155
0d86f3c0a07b
child 175
b73490398368
equal deleted inserted replaced
167:56b008563db8 168:1288dbf0f9b5
35 * Handle the post events 35 * Handle the post events
36 */ 36 */
37 if (isset($_POST['mode']) && isset($_POST['UUID'])) { 37 if (isset($_POST['mode']) && isset($_POST['UUID'])) {
38 send_cmd('UNIT '.$_POST['UUID']); 38 send_cmd('UNIT '.$_POST['UUID']);
39 send_cmd('MODE '.$_POST['mode']); 39 send_cmd('MODE '.$_POST['mode']);
40 unset($_POST['UUID']);
41 unset($_POST['mode']);
40 } 42 }
41 43
42 44
43 45
44 $outstr = '<!DOCTYPE html>'.PHP_EOL; 46 $outstr = '<!DOCTYPE html>'.PHP_EOL;

mercurial