15
i ewant to login users to file
$file = fopen("log.html", "a");
$time = date("dS F Y - H:i");
fwrite($file, "Date: $time
" );
if ($userinfo[username] == "")
{
fwrite($file,"User: Anonymus
");
}
else
{
fwrite($file,"User: $userinfo[username]
");
}
but php debug said that $userinfo[username] is not a recognize words. How i can call users. With which function?
Thnx