".$mytext." ");
} else {
$digits=substr("00000000".$counttotal,-8);
echo("");
if ($myplaintext==0) {
for ($i=0;$i<8;$i++) {
$digit=substr($digits,$i,1);
echo ("");
}
} else {
echo($digits);
}
echo(" \n");
}
}
$fp=fopen($myfile,"w");
if ($fp) {
flock($fp,2);
fputs($fp, substr("0000000000".$counttotal,-10)." ",11);
fputs($fp, substr("0000000000".$counttoday,-10)." ",11);
fputs($fp, $today,10);
flock($fp,3);
fclose ($fp);
}
?>
|