- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/phpfreechat-2.0.5/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/default/jquery.phpfreechat.min.css" />
<script src="/phpfreechat-2.0.5/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
</head>
<body>
<div id="mychat"><a href="http://www.phpfreechat.net">phpFreeChat • Creating chat rooms everywhere</a></div>
<script type="text/javascript">
$('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
</script>
</body>
</html>
Used this same file in 2 different location http://www.techbreeze.in/mychat/phpfreechat-2.0.5/check.html and http://www.techbreeze.in/mychat/check.html doesnt work. May be it has something to do with the php configuration. Please let me know how to make it work