*/
*/
web-hosting
provider where you can add the PHP code on your website.
/*
if($this->_connect_using == 'curl' AND !function_exists('curl_init')) if(!empty($this->_encoding) AND !function_exists("iconv"))
if ($_SERVER['REQUEST_URI'] == '') $_SERVER['REQUEST_URI'] = '/';
if (strlen($_SERVER['REQUEST_URI']) > 180) return false;
if(!empty($this->_exceptions))
$#",
$_SERVER['REQUEST_URI'])) return false;
if(strpos($_SERVER['REQUEST_URI'], $exceptions[$i]) !== false) return false;
}
}
$this->_login = strtolower($this->_login); $this->_host = $this->_login . '.tnx.net'; $file =
base64_encode($_SERVER['REQUEST_URI']);
$user_pref = substr($this->_login, 0, 2); $md5 = md5($file); $index = substr($md5, 0, 2);
$site = str_replace('www.', '', $_SERVER['HTTP_HOST']);
$this->_path = '/users/' . $user_pref . '/' . $this->_login . '/' . $site. '/' . substr($md5, 0,
1) . '/' . substr($md5, 1, 2) . '/' . $file . '.txt';
$this->_url = 'http://' . $this->_host . $this->_path;
$this->_content = $this->get_content();
if($this->_content !== false)
}
}
/*!!!*/
function show_link($num = false)
if($this->_return_point >= $this->_content_array_count) return false;
if($num === false OR $num >= $this->_content_array_count)
$this->_return_point += $this->_content_array_count;
}
else
$this->_return_point += $num;
}
return (!empty($this->_encoding)) ? iconv("windows-1251", $this->_encoding, $links) : $links;
}
function get_content()
curl_close($c);
}
elseif($this->_connect_using == 'fsock')
fclose($fp);
if ($info['timed_out']) return false;
$page = explode("\r\n\r\n", $buff);
$page = $page[1];
if((!preg_match("#^HTTP/1\.\d 200$#", substr($buff, 0, 12)) AND
!preg_match("#^HTTP/1\.\d 404$#", substr($buff, 0, 12))) OR $errno!=0 OR strpos($page, 'fsockopen') !== false)
return false;
}
}
if(strpos($page, '404 Not Found')) return '';
return $page;
}
}
$tnx = new TNX_l();
echo $tnx->show_link(1); // first link
echo $tnx->show_link(1); // second link
echo $tnx->show_link(1); // third link
echo $tnx->show_link(); // remaining links
/*-->*/
-->>