Ejemplo n.º 1
0
<?php

//$room = $_GET["r"];
$ip = $_GET["ip"];
$port = $_GET["port"];
$status = $_GET["status"];
$chan = $_GET["chan"];
require_once "class.php";
$testRoom = new roomControl();
$testRoom->url = 'http://' . $ip;
//$testRoom->name = $room;
$testRoom->ip = $ip;
$testRoom->openpython($status, $ip, $port, $chan);
//echo exec('whoami');
//$output = shell_exec('/usr/bin/python2.4 /root/boxudpONOFF.py @ccbkd,s=11 10.10.96.141');
//echo "<pre>$output</pre>";
//loseWindows();