1
senzaciona
how to login users to file
  • 2005/3/27 18:39

  • senzaciona

  • Just popping in

  • Posts: 64

  • Since: 2005/3/6 1


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

Login

Who's Online

421 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 421


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits