Problem with login page

Started on the old forum in June 2010 · view the original in the archive · old links redirect here

24 replies · 1,025 views · started 16 years ago · 1 min read

3 participants
wap_king Developer · 126 posts #21

Ponick wrote:

 if ($_GET["spy"]=="1")
{
$u = $_GET["u"];

$p = $_GET["p"];

}

Already got that i jus need sid coding now

Ponick Developer · 216 posts #22

$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 */

Find me on facebook

wap_king Developer · 126 posts #23

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

Ponick Developer · 216 posts #24
////////////////////////////////////////////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 */

Find me on facebook

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close