This is my first experience with PHP, so i choose PFC for training me. and i have a little problem.
This is my index.php code (only change the original index.php):
- Code: Select all
<?php
require_once "src/phpfreechat.class.php"; // pensez à juster le chemin
$params = array("title" => "Salon prive de Minus",
"max_msg" => 50,
"clock" => true,
"serverid" => md5(__FILE__),
"theme" => "msn",
"language" => "fr_FR",
);
$chat = new phpFreeChat($params);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Tchat de Minus</title>
</head>
<body>
<?php $chat->printChat(); ?>
</body>
</html>
I don't know why the popup asking a nickname (Input require/Please enter your nickname) don't appears when someone want to connect to my chat (they are all guest).
Thnak you for your help.