Nigel, thank you for the reply.
Indeed, currently I'm using a flex front-end who posts data
back to a php file which creates the room for me. The room is
created, but I still get the follow error:
Warning: stream_get_contents()
[function.stream-get-contents]: SSL: fatal protocol error in
/home/madebythem/domains/madebythem.be/public_html/cocomo/cocomo.php
on line 448
Warning: stream_get_contents()
[function.stream-get-contents]: SSL: fatal protocol error in
/home/madebythem/domains/madebythem.be/public_html/cocomo/cocomo.php
on line 532
Warning: stream_get_contents()
[function.stream-get-contents]: SSL: fatal protocol error in
/home/madebythem/domains/madebythem.be/public_html/cocomo/cocomo.php
on line 448
Warning: stream_get_contents()
[function.stream-get-contents]: SSL: fatal protocol error in
/home/madebythem/domains/madebythem.be/public_html/cocomo/cocomo.php
on line 532
Warning: stream_get_contents()
[function.stream-get-contents]: SSL: fatal protocol error in
/home/madebythem/domains/madebythem.be/public_html/cocomo/cocomo.php
on line 448
my code:
$account = "mariovde";
$devuser = "mariovde@telenet.be";
$devpass = "dilbertje";
$secret = "07dd6e342c164135be59f29fbc444931";
$host = "
http://connectnow.acrobat.com"; $accountURL = "{$host}/{$account}";
session_start();
$roomName = $_POST['nameofroom'];
echo "creating room : {$roomName}";
$pc_account = new CocomoAccount($accountURL);
$pc_account->login($devuser, $devpass);
$pc_account->createRoom($roomName);
$session = $pc_account->getSession($roomName);
$roomURL = "{$accountURL}/{$roomName}";
$token = $session->getAuthenticationToken($secret, $user,
$user, $role);
echo "Room created";