dear admin,
<!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code
Then remove FreiChatX tables frei_session & frei_chat if necessary
The best/recommended way is using the module for installation -->
<?php $ses=$_SESSION['iduser'];
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file("/xampp/htdocs/freichat/arg.php")){
require "/xampp/htdocs/freichat/arg.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo "<script>alert('module freichatx says: arg.php file not
found!');";
}
return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="../freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>"></script><link rel="stylesheet" href="../freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!--===========================FreiChatX=======END=========================-->
i already put the code at the head tag in my home website, and it works,
i used the "iduser" as the main session to called the another field in my table like name etc
as with my question when im click logout button, the name("at the freichat client skin") still there and gone after 1 minutes(exactly 1 minute)
can you help me bro?
or can you give me the clue about freichat code when the "iduser" gone
dear admin,
&lt;code&gt;&lt;!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code
Then remove FreiChatX tables frei_session & frei_chat if necessary
The best/recommended way is using the module for installation --&gt;
&lt;?php
$ses=$_SESSION['iduser'];
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file("/xampp/htdocs/freichat/arg.php")){
require "/xampp/htdocs/freichat/arg.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo "&lt;script&gt;alert('module freichatx says: arg.php file not
found!');&lt;/script&gt;";
}
return 0;
}
}
?&gt;
&lt;script type="text/javascript" language="javascipt"src="../freichat/client/main.php?id=&lt;?php echo $ses;?&gt;&xhash=&lt;?php echo freichatx_get_hash($ses); ?&gt;"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="../freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"&gt;
&lt;!--===========================FreiChatX=======END=========================--&gt;
&lt;/code&gt;
i already put the code at the head tag in my home website, and it works,
i used the "iduser" as the main session to called the another field in my table like name etc
as with my question when im click logout button, the name("at the freichat client skin") still there and gone after 1 minutes(exactly 1 minute)
can you help me bro?
or can you give me the clue about freichat code when the "iduser" gone