Can Someone Look at This And Tell Me What Im Doing Wrong
This Is My Chat
--------------------------------------
<?php
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
$params = array("title" => "My room",
"max_msg" => 0,
"prefix" => "blune_",
"showwhosonline" => true,
"showsmileys" => true,
"height" => "300px",
"width" => "100%",
"serverid" => md5(__FILE__),
"theme" => "blune",
);
$chat = new phpFreeChat( $params );
?>
<center><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>MCM2 Racing</title>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
<?php $chat->printChat();
?>
</body>
</html>
---------------------------------------
This Is My Whois.php
---------------------------------------
<?php
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["title"] = "";
$pfc_config =& pfcGlobalConfig::Instance( $params );
?>
<?php
require_once dirname(__FILE__)."/../src/pfcinfo.class.php";
$info = new pfcInfo( md5("Whois online demo") );
// NULL is used to get all the connected users, but you can specify
// a channel name to get only the connected user on a specific channel
$users = $info->getOnlineNick(NULL);
echo "<h1>Racers</h1>";
echo '<div style="margin: auto; width: 10%; background-color: green; padding: ;">';
$info = "";
$nb_users = count($users);
if ($nb_users <= 1)
$info = "<strong>%d</strong> In Room !";
else
$info = "<strong>%d</strong> In Room !";
echo "<p>".sprintf($info, $nb_users)."</p>";
echo "<p>' list:</p>";
echo "<ul>";
foreach($users as $u)
{
echo "<li>".$u."</li>";
}
echo "</ul>";
echo "</div>";
?>
------------------------------------
This Is The Message im Getting
------------------------------------
Warning: mkdir(/nicknames): Permission denied in /src/pfctools.php on line 122
Warning: opendir(/nicknames): failed to open dir: No such file or directory in /src/containers/file.class.php on line 388
Warning: readdir(): supplied argument is not a valid Directory resource in /src/containers/file.class.php on line 389
0 In Room !
' list: