View Single Post
  #16  
Old 11th November 2012, 15:17
phazer phazer is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 12
Default
Quote:
Originally Posted by mascuuus View Post
I got also that problem, but the easiest way to get around it is to delete the following in bittorrent.php:

/// START IP-CHECK STAFF
if($row["class"] > UC_UPLOADER){
$feel = false;
$iplock = mysql_query("SELECT * FROM iplock WHERE userid = $id");
while($sko = mysql_fetch_array($iplock))
{
if(strpos($ip, $sko[ip]) > -1){
$feel = true;
}
}

if($feel == false)
{
logoutcookie();
admin_log("IP-varning: <b>".$row[username]."</b> tillåts ej logga in från IP: <a href=usersearch.php?ip=".$ip.">".$ip."</a>.");
genbark("IP-nummret du loggar in ifrån finns inte ibland tillåtna. Händelsen har loggats.","IP-Kontroll - ".$ip);

return;
}
}
/// SLUT IP-CHECK STAFF
Thanks I got it worked!

But I cant upload, just getting errors!

Getting this

Warning: filesize() [function.filesize]: stat failed for imdbpics/2.jpg in C:\xampp\htdocs\include\bittorrent.php on line 2152

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\bittorrent.php:2152) in C:\xampp\htdocs\takeupload.php on line 380
Reply With Quote