disable login [lavalair script]

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

    #16
    lol if he uses the $who more then once in the same script where it should be $uid its easier to use the statement i gave instead of changing all parts

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo 
    "$server is $value<br />";

    Comment


      #17
      i think it should be like this to work.



      $login = mysql_fetch_array(mysql_query("SELECT name, login FROM ibwf_users WHERE name='".$loginname."'"));
      if($login==1)
      {
      //this is were i put the site login link//
      }else if($login[1]=='2'){
      echo "$uid your login has been disabled by a staff member<br/>";
      echo "if this is a error contact a admin/owner<br/>";
      }

      Comment

      Working...
      X