but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Versions: 1.0 -- Initial version written by Sebastian Schneider (email : seb DOT sschneider [ a t ] g m ail DOT com) 1.1 -- Updated by Omar Shammas (email : omar DOT shammas [a t ] g m ail DOT com) */ //================================================================================ //------------------Required Libraries and Global Variables----------------------- //================================================================================ require 'bbb_api.php'; session_start(); $url_name = 'mt_bbb_url'; $salt_name = 'mt_salt'; $meetingID_name = 'meetingID'; //================================================================================ //------------------------------------Main---------------------------------------- //================================================================================ echo '<?xml version="1.0"?>' . "\r\n"; //Retrieves the bigbluebutton url, and salt from the seesion $salt_val = $_SESSION[$salt_name]; $url_val = $_SESSION[$url_name]; $meetingID = $_GET[$meetingID_name]; //Calls getMeetingXML and returns returns the result echo BigBlueButton::getMeetingXML($meetingID, $url_val, $salt_val);
* * @copyright 2011 Victor Bautista (victor [at] sinkia [dt] com) * @package mod_livewebteaching * * This file is free software: you may copy, redistribute and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 2 of the License, or any later version. * * This file is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * This file incorporates work covered by the following copyright and permission notice: * Authors: * Fred Dixon (ffdixon [at] blindsidenetworks [dt] org) * * @copyright 2010 Blindside Networks * * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later */ require_once "../../config.php"; require_once "lib.php"; $name = $_GET['name']; $salt = trim($CFG->lwt_apikey); $url = trim(trim($CFG->lwt_server), '/') . '/'; echo BigBlueButton::getMeetingXML($name, $url, $salt);
<?php //================================================================================ //------------------Required Libraries and Global Variables----------------------- //================================================================================ require 'bbb_api.php'; require 'bbb_api_conf.php'; //================================================================================ //------------------------------------Main---------------------------------------- //================================================================================ echo '<?xml version="1.0"?>' . "\r\n"; header('content-type: text/xml'); //Calls getMeetingXML and returns returns the result echo BigBlueButton::getMeetingXML($_GET['meetingID'], $url, $salt);