i wanted to embed the phpfreechat on my webpage side bar,just like the google mail have. i put the config file like this on the sidepage...
<?php
include_once ("path to chatfolder");
$params = array();
$params["serverid"] = md5(__FILE__);
$params["isadmin"] = false;
$params["title"] = "Live Chat";
$params["nick"] = "random number";
$params["frozen_nick"] = false;
$params["shownotice"] = 3;
$params["max_nick_len"] = 9;
$params["max_text_len"] = 40;
$params["max_channels"] = 3;
$params["max_privmsg"] = 1;
$params["refresh_delay"] = 10000;
$params["max_msg"] = 10;
$params["height"] = "100px";
$params["nickmarker"] = false;
$params["clock"] = true;
$params["quit_on_closedwindow"] = true;
$params["showwhosonline"] = true;
$params["data_private_path"] = "path to the private folder";
$params["data_public_path"] = "path to the public folder";
$chat = new phpFreeChat($params);
$chat->printJavascript();
$chat->printStyle();
$chat->printChat();
?>
When i load my webpage it just shows the message "Chat loading ...Please wait " but no chat actually loads..please help me.