A simple code

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

    A simple code

    $testbr = mysql_fetch_array(mysql_query("SELECT browserm FROM bp_users WHERE id='".$uid."'"));
    $ownbr = $testbr[0];

    if($x != "")
    {
    if((islogged($sid)==false)||($uid==0)||($ubrowser! =$ownbr))

    im using this code to prevent logging in a single account using two or more browsers at the same time..but my problem now is, some browsers give me a session expired error in the login page..can someone help me modify this?ill use this in my wapdesire based script..

    #2
    On if((islogged($sid)==false)||($uid==0)||($ubrowser! =$ownbr)) check the 2 vars with var_dump
    <?php unlink('World/Europe/Romania.country'); ?>

    Comment

    Working...
    X