How do i send username to PhPFreeChat v0 .93 using phpfreechatcontainermemory.class from MySql session?
If i open a session on the same page as the chat (e.g. chat.php) it crashes the Apache server. (I am testing with latest XAMPP)
here it is working, anyways, with the blune theme and many other mods...
http://www.galaktikon.com/chat.phphere is the known stable version without latest dhtml ie nightmare world of hell & errors:
http://www.phpfreechat.net/changelog.en.html#v0.9.3here is how you get phpfree chat to run from an external folder real quick and dirty:
<?php
require_once ("phpfreechat-0.9.3/src/phpfreechat.class.php");
$params = array("title" => "Chat Channel 1",
"max_msg" => 21,
"prefix" => "blune_",
"clock" => false,
"serverid" => md5(__FILE__),
"theme" => "blune",
"showsmileys" => false
);
$chat = new phpFreeChat($params);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="gkon.css">
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
</head>
<body class="gkonstyle" style="text-align: left">
<h3>
<div class="gradient" style="text-align: left">
CHAT</div>
<?php $chat->printChat(); ?>
</h3>
</body>
</html>