|
-
April 22nd, 2002, 12:57 AM
#1
Banned
???????????????
hi,
i need to know what this script does especially the $username part
$doflocks = 1;
$username = $ENV{'REMOTE_USER'};
$firsttime=0;
if (dbmopen(logins,$loginlog,0666))
{
flock(logins,2) if ($doflocks);
$logincount = $logins{$username};
$firsttime=1 if ($logincount == 0);
$logins{$username}++;
dbmclose(logins);
flock(logins,8) if ($doflocks);
}
$memberspage=$welcomepage if ($firsttime);
print "Location: $memberspage\n\n";
print "URI: $memberspage\n\n\n";
exit(0);
sorry for having to ask but i have not learnt any cgi yet
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|