Page 1 of 1

Reciprocal Link Check - CAN'T OPEN RECIPROCAL URL!

Posted: Sun Jun 07, 2009 12:33 pm
by Ronnie
Script URL: http://www.momnpopsware.com/linkman/
Version of script: 1.7
Hosting company: sitegenie
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:



Write your message below:
Thanks for your past help. I have the links page up and running (love the script) and am having some problems check the reciprocal links. Running the check from the admin panel I get a "CAN'T OPEN RECIPROCAL URL!," error and was wondering if this is related to the work around for "allow_url_fopen," or could there be a different problem? Thanks... Ronnie

Posted: Sun Jun 07, 2009 7:08 pm
by DC
Yes most likely because of the same problem ...

in admin.php

Find this line ...
$html = @file_get_contents($recurl) or $html='NO';

comment that out and or replace with this line
$html = get_url($recurl) or $html='NO';


Then add my func to the end of the admin script.
That should work.

//DC fopen mod ...
function get_url($url_data){
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url_data);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 10);
$get_data = curl_exec($ch);
curl_close($ch);
return $get_data;
}

DC

Posted: Sun Jun 14, 2009 6:27 pm
by Ronnie
DC - Thanks, this worked great. I appreciate all your help. Ronnie