$ScriptName = $_SERVER["PHP_SELF"];
$d = $_SERVER["SERVER_NAME"];
$i = 0 ;
$QueryString ="";
$QueryString .= "ScriptName=" .urlencode($ScriptName);
$QueryString .= "&syst=new&d=" .urlencode($d);
foreach ($_GET as $key => $value) {
$value = urlencode(stripslashes($value));
$QueryString .= "&$key=$value";
}
function GetData($QueryString)
{
if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) {
if(!@readfile("http://www.build-reciprocal-links.com/directory/indexdir.asp?".$QueryString)) {
echo "Error processing request";
}
}
elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) {
if(!($content = @file("http://www.build-reciprocal-links.com/directory/indexdir.asp?".$QueryString))) {
echo "Error processing request";
}
else {
echo @join('', $content);
}
}
elseif(function_exists('curl_init')) {
$ch = curl_init ("http://www.build-reciprocal-links.com/directory/indexdir.asp?".$QueryString);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
echo "Error processing request";
curl_close ($ch);
}
else {
echo "Error....All functions for handling remote pages are disabled my your web host. Contact Your web host to enable remote pages hadling PHP function like curl or fopen";
}
}
function GetMetaData($QueryString,$title)
{
$QueryString .= "&title=" .urlencode($title);
if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) {
if(!@readfile("http://www.build-reciprocal-links.com/directory/GetMetaData.asp?".$QueryString)) {
echo "Error processing request";
}
}
elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) {
if(!($content = @file("http://www.build-reciprocal-links.com/directory/GetMetaData.asp?".$QueryString))) {
echo "Error processing request";
}
else {
echo @join('', $content);
}
}
elseif(function_exists('curl_init')) {
$ch = curl_init ("http://www.build-reciprocal-links.com/directory/GetMetaData.asp?".$QueryString);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
echo "Error processing request";
curl_close ($ch);
}
else {
echo "Error....All functions for handling remote pages are disabled my your web host. Contact Your web host to enable remote pages hadling PHP function like curl or fopen";
}
}
// ############################### Dynamic Scripting Section - Completed #############################################
?>
">
">
GetData($QueryString);
?>