( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpFreeChat has a deprecated constructor in /home/jbcoqdvq/public_html/src/phpfreechat.class.php on line 36
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcCommand has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfccommand.class.php on line 32
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcUserConfig has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfcuserconfig.class.php on line 5
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3
30.0039402728require_once( '/home/jbcoqdvq/public_html/src/pfccommand.class.php' ).../phpfreechat.class.php:23

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcGlobalConfig has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfcglobalconfig.class.php on line 32
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3
30.0039402728require_once( '/home/jbcoqdvq/public_html/src/pfccommand.class.php' ).../phpfreechat.class.php:23
40.0068404728require_once( '/home/jbcoqdvq/public_html/src/pfcuserconfig.class.php' ).../pfccommand.class.php:23

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainer has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfccontainer.class.php on line 33
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3
30.0039402728require_once( '/home/jbcoqdvq/public_html/src/pfccommand.class.php' ).../phpfreechat.class.php:23
40.0068404728require_once( '/home/jbcoqdvq/public_html/src/pfcuserconfig.class.php' ).../pfccommand.class.php:23
50.0092415424require_once( '/home/jbcoqdvq/public_html/src/pfcglobalconfig.class.php' ).../pfcuserconfig.class.php:3

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainerInterface has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfccontainerinterface.class.php on line 29
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3
30.0039402728require_once( '/home/jbcoqdvq/public_html/src/pfccommand.class.php' ).../phpfreechat.class.php:23
40.0068404728require_once( '/home/jbcoqdvq/public_html/src/pfcuserconfig.class.php' ).../pfccommand.class.php:23
50.0092415424require_once( '/home/jbcoqdvq/public_html/src/pfcglobalconfig.class.php' ).../pfcuserconfig.class.php:3
60.0114418672require_once( '/home/jbcoqdvq/public_html/src/pfccontainer.class.php' ).../pfcglobalconfig.class.php:25

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcTemplate has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfctemplate.class.php on line 29
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcResponse has a deprecated constructor in /home/jbcoqdvq/public_html/src/pfcresponse.class.php on line 27
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0030401712require_once( '/home/jbcoqdvq/public_html/src/phpfreechat.class.php' ).../demo16_in_arabic.php:3

( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pfcContainer_File has a deprecated constructor in /home/jbcoqdvq/public_html/src/containers/file.class.php on line 30
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0132486344phpFreeChat->phpFreeChat( ).../demo16_in_arabic.php:7
30.0132486344pfcGlobalConfig::Instance( ).../phpfreechat.class.php:44
40.0132488280pfcGlobalConfig->pfcGlobalConfig( ).../pfcglobalconfig.class.php:752
50.0176506520pfcContainer::Instance( ).../pfcglobalconfig.class.php:737
60.0176507016pfcContainer->pfcContainer( ).../pfccontainer.class.php:43

( ! ) Warning: session_start(): Cannot start session when headers already sent in /home/jbcoqdvq/public_html/src/pfcuserconfig.class.php on line 24
Call Stack
#TimeMemoryFunctionLocation
10.0006398520{main}( ).../demo16_in_arabic.php:0
20.0132486344phpFreeChat->phpFreeChat( ).../demo16_in_arabic.php:7
30.0191509976pfcUserConfig::Instance( ).../phpfreechat.class.php:47
40.0191510536pfcUserConfig->pfcUserConfig( ).../pfcuserconfig.class.php:49
50.0191510536session_start ( ).../pfcuserconfig.class.php:24
phpFreeChat demo

_Chat loading ..._
_Please wait_

The source code

/home/jbcoqdvq/public_html/demo/demo16_in_arabic.php


<?php

require_once dirname(__FILE__)."/../src/phpfreechat.class.php";

$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["language"] = "ar_LB";
$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>phpFreeChat demo</title>

    <?php $chat->printJavascript(); ?>
    <?php $chat->printStyle(); ?>

  </head>

  <body>
    <?php $chat->printChat(); ?>

<?php
  
// print the current file
  
echo "<h2>The source code</h2>";
  
$filename __FILE__;
  echo 
"<p><code>".$filename."</code></p>";
  echo 
"<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
  
$content file_get_contents($filename);
  
highlight_string($content);
  echo 
"</pre>";
?>

  </body>
</html>