// To show it working, just get the auth key and display it. $hawthorn->getAuthKey('loadtestchan3', $hawthornKey, $hawthornKeyTime); ?> <p>Ok, got past init again. Key is <?php print $hawthornKey; ?> , time <?php print $hawthornKeyTime; ?> .</p> <?php // Print JS code that causes recent messages to be displayed. print $hawthorn->recent('loadtestchan3'); // Print link to chat in channel. print $hawthorn->linkToChat('loadtestchan3', 'Load test channel 3', 'Chat now!'); // For admins only, print server statistics link $isAdmin = strpos($_GET['permissions'], 'a') !== false; if ($isAdmin) { print $hawthorn->linkToStatistics(); } } else { ?> <form method="get" action="test.php"> <div> Username (lowercase letters/numbers only) <input type="text" name="user" /> </div> <div> Display name (any text) <input type="text" name="displayname" />