Thread: InfoHash Error
View Single Post
  #2  
Old 7th December 2008, 21:34
AndyMAT AndyMAT is offline
Member
 
Join Date: Nov 2008
Russia
Posts: 5
Default
You can try to add this code in announce.php after "require_once("include/benc.php");", if don`t have it in bittorrent.php
PHP Code:
if (get_magic_quotes_gpc()) {
   function 
stripslashes_deep($value)
   {
       
$value = is_array($value) ?
                   
array_map('stripslashes_deep', $value) :
                   
stripslashes($value);
       return 
$value;
   }
   
$_POST = array_map('stripslashes_deep', $_POST);
   
$_GET = array_map('stripslashes_deep', $_GET);
   
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
} 

Last edited by AndyMAT; 7th December 2008 at 21:36.
Reply With Quote
The Following User Says Thank You to AndyMAT For This Useful Post:
Matroska (9th December 2008)