Reciprocal Link Check - CAN'T OPEN RECIPROCAL URL!

Problems installing LinkMan?
Post Reply
Ronnie
Posts: 17
Joined: Sun Apr 26, 2009 7:40 pm

Reciprocal Link Check - CAN'T OPEN RECIPROCAL URL!

Post 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
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post 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
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Ronnie
Posts: 17
Joined: Sun Apr 26, 2009 7:40 pm

Post by Ronnie »

DC - Thanks, this worked great. I appreciate all your help. Ronnie
Post Reply