Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Community Cafe (http://www.bvlist.com/forumdisplay.php?f=18)
-   -   Error when i upload a torrent! (http://www.bvlist.com/showthread.php?t=3505)

ajax 2nd October 2009 15:20

Error when i upload a torrent!
 
Hy,when i try upload a torrent a got a blank page and an error but after torrent are added to tracker:

Code:

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\include\functions_global.php on line 135

Warning: file_get_contents(Dupecheck Project neko netaisos mainоt..&opt=0) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\include\functions_global.php on line 135

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\functions_global.php:135) in C:\xampp\htdocs\takeupload.php on line 178

PHP Code:

Error table:
function 
getpretime($name$type) {
$name trim($name);
$name substr($name 050);
$pre['regexp'] = '|<tr><td>(.*)<td>(.*)<td>(.*)|';
$pre['url'] = 'http://doopes.com/?cat=454647&lang=0&num=2&mode=0&from=&to=&exc=&inc='.$name.'&opt=0';
$pre['file'] = file_get_contents($pre['url']);
preg_match($pre['regexp'], $pre['file'], $pre['matches']);
$dtm $pre['matches'][$type];
if(!empty(
$dtm)) {
list(
$y$m$d$h$min$sec) = split('[: -]'$dtm);
$new_dtm date('Y-m-d H:i:s'mktime($h 1$min$sec$m$d$y));
return 
$new_dtm;
} else {
return 
'';
}


And line 135:
Code:

$pre['file'] = file_get_contents($pre['url']);
:sos:

dopeboy 12th October 2009 09:29

CHMOD 'torrents' folder to 0777


All times are GMT +2. The time now is 18:29.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.