Users Record In Wappy Or Nochat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Users Record In Wappy Or Nochat

    this code on chat.php page willshow users record on line..
    you can edit how record you need changing >10, >20 ,etc.
    and you can put on text wil appear on chat page the smiley you want
    i done this for my XHTML chat version

    if you have a WML version, maybe you have to put others \ on img src

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>if (filesize(&#39;chatpaikalla.txt&#39;)>10){

    $viesti="";
    $tie = fopen(&#39;chat.txt&#39;, &#39;r+&#39;);
    $ko=file_get_contents (&#39;chat.txt&#39;);
    $to=&#39;SYSTEM: RECORD NOW on CHAT!!:[ 10 ] USERS on line[img]smileys/record.gif[/img]

    &#39;. $ko;
    fputs($tie, $to);
    fclose($tie);}</div>
    sigpicthe italian/international COMMUNITY of friendship
    http://people2000.netne.net
    WAP/WEB
    peoplemailbox@katamail.com

    #2

    sob code works but it creates a continue text on chat.php page..and it appears on every message sent by users..
    sigpicthe italian/international COMMUNITY of friendship
    http://people2000.netne.net
    WAP/WEB
    peoplemailbox@katamail.com

    Comment


      #3
      i cant understand what yur saying?????????? but im guessing at.......
      um xhtml to wml forward slash is missing at end
      [img]smileys/record.gif[/img]

      if its opening everytime a user posts a message then try saving it to a differnt .txt

      Comment

      Working...
      X