sendControlCommand($ctrlCommand); // Back to the page the command came from, if that is on this server. $redirect = localRedirectUrl(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '', '?view=control&mid='.$mid); } ?>