Statistics and Counters Php

// You can edit the variables below \/
$filename = "count.dat" //name of the file where the data is kept
$message1 = "There have been"; // first message section \/
$message2 = " visitors to this page."; // second message section [$message1 $count $message2]
$bold = "1"; // if 1, the numbers are bold, if 0 nothing is bold
$font = "verdana"; // The font name
$fontsize = "2"; // The size of the font
$textcolor = "#005500"; //The color of the $message1 and $message2 (HEX)
$numbercolor = "#550000"; //The colour of the numbers (HEX)
$numberglow = "0"; //If 1, the numbers glow, if 0, they don't.
$glowcolor = "#0000FF"; //The colour of the glow
$invisible = "0" //If 1, the counter will not show (it will still count!)
// Don't edit anything below this line unless you know what you're doing
$fp = fopen($filename,"r+");
flock($fp,1);
$count = fgets($fp,6);
$count += 1;
rewind($fp);
fputs($fp,$count);
flock($fp,3);
fclose($fp);
if ($invisible == "1"){
//counter does nothing because 'invisible' is on (1)
} elseif ($invisible == "0"){
if ($bold == "1"){
$bold1 = "";
$bold2 = "
";
} elseif ($bold == "0"){
$bold1 = "";
$bold2 = "";
}
if ($numberglow == "1"){
$glow1 = "";
$glow2 = "
";
} elseif ($numberglow == "0"){
$glow1 = "";
$glow2 = "";
}
print " $message1 $glow1$bold1$count$bold2$glow2 $message2";
}
?>