=$_SERVER['SERVER_NAME']?> Link Partners
$value) {
$value = urlencode(stripslashes($value));
$qs .= "&$key=$value";
}
// congfigure our headers
if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) {
if(!@readfile("http://dir.linkslister.com/dir.php?".$qs)) {
echo "Error processing request";
}
}
elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) {
if(!($content = @file("http://dir.linkslister.com/dir.php?".$qs))) {
echo "Error processing request";
}
else {
echo @join('', $content);
}
}
elseif(function_exists('curl_init')) {
$ch = curl_init ("http://dir.linkslister.com/dir.php?".$qs);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
echo "Error processing request";
curl_close ($ch);
}
else {
echo "Your host provider has disabled all functions to handle remote pages.";
}
?>