that was the first thing that was there actually
Problem with login page
Collapse
X
-
PHP Code:if ($_GET["spy"]=="1")
{
$u = $_GET["u"];
$p = $_GET["p"];
}
PHP Code:/* I don't know everything hehe */
Comment
-
$sid = $unick.$mytime.$p;
its may bePHP Code:
$mytime=time();
$sid = $u.$mytime;
mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? :P :PPHP Code:/* I don't know everything hehe */
Comment
-
Originally posted by Ponick View Post$sid = $unick.$mytime.$p;
its may bePHP Code:
$mytime=time();
$sid = $u.$mytime;
mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? :P :P
hey ponick if you could me a sid coding like wats on lava login page tht wud be cool
Comment
-
PHP Code:
////////////////////////////////////////////Session expiry time
function getsxtm()
{
$getdata = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sesexp'"));
return $getdata[0];
}
$tm = time();
$xtm = $tm + (getsxtm()*60);
$did = $u.$tm;
$res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($u)."', expiretm='".$xtm."'");
$sid = md5($did);
PHP Code:/* I don't know everything hehe */
Comment
Comment