Quote:
Originally Posted by empereur
I have a big impossible worry of uploader of torrent dvd with version utorrent 1.7.7 he says to me has every time error Invalid info_hash
therefore I tested another version of utorrent version 1.6 and most problem
I veils shall want a resolution found so that utorrent 1.7.7 is valid on the tracker and so that it causes no more error therefore if you have a resolution has my problem I thank you for it beforehand
|
Try this function:
PHP Code:
function dbconn($autoclean = false, $lightmode = false) {
global $mysql_host, $mysql_user, $mysql_pass, $mysql_db, $mysql_charset;
if (!@mysql_connect($mysql_host, $mysql_user, $mysql_pass))
die("[" . mysql_errno() . "] dbconn: mysql_connect: " . mysql_error());
mysql_select_db($mysql_db)
or die("dbconn: mysql_select_db: " + mysql_error());
mysql_query("SET NAMES $mysql_charset");
userlogin($lightmode);
if (basename($_SERVER['SCRIPT_FILENAME']) == 'index.php')
register_shutdown_function("autoclean");
register_shutdown_function("mysql_close");
}
:the3: