<?php
///////////////////////////////////////////////////////////////
//入室
echo "\n enter \n";
$data = array('name' => 'unko');
curl_setopt($curl, CURLOPT_URL
, 'http://c...content-available-to-author-only...l.cx/cmd/enter');
///////////////////////////////////////////////////////////////
//書き込み
echo "\n write \n";
$data = array('name' => 'unko', 'body' => 'test hikky');
curl_setopt($curl, CURLOPT_URL
, 'http://c...content-available-to-author-only...l.cx/cmd/write');
///////////////////////////////////////////////////////////////
//読み込み
echo "\n read \n";
$data = array('name' => 'unko');
curl_setopt($curl, CURLOPT_URL
, 'http://c...content-available-to-author-only...l.cx/cmd/read');
///////////////////////////////////////////////////////////////
//退室
echo "\n leave \n";
$data = array('name' => 'unko');
curl_setopt($curl, CURLOPT_URL
, 'http://c...content-available-to-author-only...l.cx/cmd/leave');
?>
PD9waHAKCi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLwoKLy/lhaXlrqQKZWNobyAiXG4gZW50ZXIgXG4iOwoKJGRhdGEgPSBhcnJheSgnbmFtZScgPT4gJ3Vua28nKTsKCiRjdXJsID0gY3VybF9pbml0KCk7CgpjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9VUkwsICdodHRwOi8vYy4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4ubC5jeC9jbWQvZW50ZXInKTsKY3VybF9zZXRvcHQoJGN1cmwsIENVUkxPUFRfUkVUVVJOVFJBTlNGRVIsIDEpOwpjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9QT1NULCAxKTsKY3VybF9zZXRvcHQoJGN1cmwsIENVUkxPUFRfUE9TVEZJRUxEUywgJGRhdGEpOwoKJHJlc3VsdCA9IGN1cmxfZXhlYygkY3VybCk7CgpwcmludF9yKCRyZXN1bHQpOwoKY3VybF9jbG9zZSgkY3VybCk7CgovLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8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