Problem with login page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    that was the first thing that was there actually

    Comment


      #17
      what does the debug line say ? if it comes back something like:
      Debug: spy: 1
      User: something_else
      pass: random
      Usercheck:
      passcheck

      then you know there is a problem with your sql

      Comment


        #18
        nothing wrong with sql...try sumting else and it worked so ama figure out whats wrong and fix it......

        Comment


          #19
          hey i got it recode the page and got it now i need sid how do i do that?

          Comment


            #20
            PHP Code:
             if ($_GET["spy"]=="1")
            {
            $u $_GET["u"];

            $p $_GET["p"];

            PHP Code:
            /* I don't know everything hehe */ 
            Find me on facebook

            Comment


              #21
              Originally posted by Ponick View Post
              PHP Code:
               if ($_GET["spy"]=="1")
              {
              $u $_GET["u"];

              $p $_GET["p"];


              Already got that i jus need sid coding now

              Comment


                #22
                $sid = $unick.$mytime.$p;

                its may be
                PHP Code:

                $mytime
                =time();
                 
                $sid $u.$mytime

                mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? :P :P
                PHP Code:
                /* I don't know everything hehe */ 
                Find me on facebook

                Comment


                  #23
                  Originally posted by Ponick View Post
                  $sid = $unick.$mytime.$p;

                  its may be
                  PHP Code:

                  $mytime
                  =time();
                   
                  $sid $u.$mytime

                  mysql_query("update users set ts ='$ts' where username='$thelogin'"); are you sure about this? :P :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

                  Comment


                    #24
                    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); 
                    this code is common for lava but you have to make this supportable with yor sql :p
                    PHP Code:
                    /* I don't know everything hehe */ 
                    Find me on facebook

                    Comment


                      #25
                      kool thanx much

                      Comment

                      Working...
                      X