Agreed that is some terrible code to read a even when using the [php][/php] a suggestion into using coding practices
Example 1:
if ($e[2]=="\r\n" && !in_array($e[0], $users) && ( time() - $e[1] < $refresh*2 ) ) $users[]=$e[0] ;
Example 2:
if (!$fp) { die ('Can not write to file .') ; }
Example 3:
if (isset($HTTP_GET_VARS['f1']))
{
//code here
}
Hmm 3 ways to do it and all three used in the source. Hmm very hard to understand.
header ("Content-Type: text/html; charset=utf-8") ;
Any reason for the header 😕 Im pretty sure text/html is the default sent by PHP and Apache I dont think its required to be sent again.