$time $chatname [-] $message

\n "; // set up header and footer for the messages and history page $header = "". "". "". "

". " <bgsound src=\"alert.wav\" loop=none> \n"; $footer = "


". "
"; // write the new message file $open_file = fopen("messages.htm", "w"); fputs($open_file, $header); fputs($open_file, stripslashes($new_message)); fputs($open_file, $old_messages); fputs($open_file, $footer); fclose($open_file); // write the history file $open_file = fopen("history.htm", "w"); fputs($open_file, $header); fputs($open_file, stripslashes($new_message)); fputs($open_file, $old_history); fputs($open_file, $footer); fclose($open_file); // thats it for the main part, the functions follow print_form_nameset(); function print_form() { global $chatname; global $PHP_SELF; echo <<

Screen Name : Text Colour :   Emotions :
Message :  
FORM1; } function print_form_nameset() { global $myfont; global $chatname; global $PHP_SELF; echo <<

Screen Name : $chatname
  Emotions :
Message :  
FORM2; } ?> ys/verwirrt.gif">verwirrt
Message :  
FORM2; } ?>