Links
$value) {
$value = urlencode(stripslashes($value));
$QueryString .= "&$key=$value";
}
// congfigure our headers
if(intval(ini_get('allow_url_fopen')) && function_exists('readfile')) {
if(!@readfile("http://www.backlinkspider.com/generate.links.php?".$QueryString)) {
echo "Error processing request";
}
}
elseif(intval(ini_get('allow_url_fopen')) && function_exists('file')) {
if(!($content = @file("http://www.backlinkspider.com/generate.links.php?".$QueryString))) {
echo "Error processing request";
}
else {
echo @join('', $content);
}
}
elseif(function_exists('curl_init')) {
$ch = curl_init ("http://www.backlinkspider.com/generate.links.php?".$QueryString);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
echo "Error processing request";
curl_close ($ch);
}
else {
echo "Your web hosting provider has disabled all functions for handling remote pages pages and as a result the Backlink Spider software will not function on your web site.";
}
echo "";
?>
Subscribe to:
Posts (Atom)