Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Notices

Reply
  #1  
Old 2nd October 2009, 15:20
ajax's Avatar
ajax ajax is offline
Senior Member
 
Join Date: Apr 2009
United Kingdom
Posts: 165
Default 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 , 0, 50);
$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']);
Reply With Quote
  #2  
Old 12th October 2009, 09:29
dopeboy's Avatar
dopeboy dopeboy is offline
Senior Member
 
Join Date: Jan 2009
P2P
Posts: 45
Default
CHMOD 'torrents' folder to 0777
Reply With Quote
Reply

Tags
error , torrent , upload

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:42. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.