<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Test</title></head> <body> <br> <?php //cancel file for server site. $room = $_GET["r"]; $ip = $_GET["ip"]; require_once "class.php"; $testRoom = new roomControl(); $testRoom->turnOffCancel($room); //send command 'shutdown -a' $testRoom->updateCancelStatus($room); //update status to DB //echo "Your request processed successfully"; //$testRoom ->removeCron($ip); old script -- should remove $testRoom->updateEndTime($room); echo "<center>Your request to cancel the shutdown schedule is done.</center>"; ?> </body> </html>