View Single Post
  #139  
Old 17th July 2009, 21:13
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
replace this in announce


PHP Code:
$rz mysql_query("SELECT id, uploaded, downloaded, class, parked FROM users WHERE ip='$ip' AND enabled = 'yes' ". (ENA_PASSKEY "AND passkey=$passkey ":''). "ORDER BY last_access DESC LIMIT 1") or err("Tracker error 2");
    if (
$MEMBERSONLY && mysql_num_rows($rz) == 0)
        
err("Unrecognized host ($ip). Please go to $BASEURL to sign-up or login.");
    
$az mysql_fetch_assoc($rz);
    
$userid $az["id"]; 
to this works now


PHP Code:
 $rz mysql_query("SELECT id, uploaded, downloaded, class, parked FROM users WHERE enabled = 'yes' ". (ENA_PASSKEY "AND passkey=$passkey ":''). "ORDER BY last_access DESC LIMIT 1") or err("Tracker error 2");
//    if ($MEMBERSONLY && mysql_num_rows($rz) == 0)
//        err("Unrecognized host ($ip). Please go to $BASEURL to sign-up or login.");
    
$az mysql_fetch_assoc($rz);
    
$userid $az["id"]; 
if useint utorrent webui


PHP Code:
elseif (preg_match("/^utorrent webui (.+)$/"$httpagent$matches))
      return 
"utorrent webui/$matches[1]";
   else 
add above in details
Reply With Quote