if ($_GET["spy"]=="1") { $u = $_GET["u"]; $p = $_GET["p"]; }
Already got that i jus need sid coding now
Started on the old forum in June 2010 · view the original in the archive · old links redirect here
if ($_GET["spy"]=="1") { $u = $_GET["u"]; $p = $_GET["p"]; }
Already got that i jus need sid coding now
$sid = $unick.$mytime.$p;
its may be
$mytime=time();
$sid = $u.$mytime;
mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? 😛 😛
/* I don't know everything hehe */
Ponick wrote: $sid = $unick.$mytime.$p;
its may be
$mytime=time(); $sid = $u.$mytime;mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? 😛 :P
lol it can but i dont want it like tht lol its not my coding either
hey ponick if you could me a sid coding like wats on lava login page tht wud be cool
////////////////////////////////////////////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);
this code is common for lava but you have to make this supportable with yor sql 😛
/* I don't know everything hehe */