Menu

Webchat

Hilfe/Help
Anonymous
2002-06-03
2002-06-04
  • Anonymous

    Anonymous - 2002-06-03

    Hallo zusammen

    Ich suche noch ein Script fr den Webchat (Statistik), hat jemand so ein Teil auf Lager?

    Manu

     
    • Michael Oertel

      Michael Oertel - 2002-06-04

      <?//-*- C++ -*-
      /*   ********************************************************************   **
      **   Copyright (C) 2001-     PHPOpenChat Development Team                   **
      **   http://www.ortelius.de/phpopenchat/                                    **
      **                                                                          **
      **   This program is free software. You can redistribute it and/or modify   **
      **   it under the terms of the PHPOpenChat License Version 1.0              **
      **                                                                          **
      **   This program is distributed in the hope that it will be useful,        **
      **   but WITHOUT ANY WARRANTY, without even the implied warranty of         **
      **   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   **
      **                                                                          **
      **   You should have received a copy of the PHPOpenChat License             **
      **   along with this program.                                               **
      **   ********************************************************************   */
      /*
      * webchat-file anlegen
      *
      *
      *
      */
      #$fp = fopen("/usr/local/www/htdocs/service/temp.txt","a");
      #fwrite($fp,date("d.m.y-h.i")."\n");
      #fclose($fp);

      include 'defaults_inc.php';
      include 'connect_db_inc.php';

      $db_handle=connect_db($DATABASEHOST,$DATABASEUSER,$DATABASEPASSWD);

      $result = mysql_query("select Nick, Zeit, Raum from chat",$db_handle);
      while($line=mysql_fetch_array($result)){
          $file .= '('.$line[Nick].') ('.$line[Zeit].') ('.$line[Raum].')'.nl;
      }
      #$fp = fopen("/usr/local/www/htdocs/userlist.txt","w");
      #fwrite($fp,$file);
      #fclose($fp);
      echo $file;

      ?>

       
      • Anonymous

        Anonymous - 2002-06-04

        Superklasse ... herzlichen Dank

        Alexander
        quatschclub.de

         
    • Anonymous

      Anonymous - 2002-06-04

      Vielen herzlichen Dank!! Echt genial...
      Probiere es gleich mal aus.

      :-))

      Manuel

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.