-
???????????????
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
-
It looks like its a login script....
$welcomepage is shown the first time $username logs in, the second time it shows $memberpage...
Looks like it logs all logins to $loginlog... Where is this from?
-
would it be possible to make it submit the same username whatever is entered in the form or whatever?
-
bring on the flames....
this is from a globill affiliate program script
i social engineered a password for a MASSIVE affiliate program that does all its tracking through globill and i want to redirect everyones hits to my account - but secretly and unnoticeable accept for them noticing a drop in sales
-
Wow, This post is getting interesting..... PM me and send the details, explain what you need and Ill see what I can do :)