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"]; }Find me on facebookPHP 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 :PFind me on facebookPHP Code:/* I don't know everything hehe */
Comment
-
lol it can but i dont want it like tht lol its not my coding eitherOriginally 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
-
this code is common for lava but you have to make this supportable with yor sql :pPHP 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);Find me on facebookPHP Code:/* I don't know everything hehe */
Comment
Comment