Hello,

I still have such error message on "Checking Link" page after I install Link Manager.

In Admin/Extra/Links, If I click on "check links", Such error messages appear:
Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/.nonsense/XXXX/loveinrose.com/admin/links.php on line 618

Warning: file(http://www.xtreme-hosting-inc.com) [function.file]: failed to open stream: no suitable wrapper could be found in /home/.nonsense/XXXX/loveinrose.com/admin/links.php on line 618

Somebody said it is because allow_url_fopen is set OFF. I contacted my hosting server and asked them to turn it On. They said for security reason, they couldn't turn it ON. But they told me that I can use CURL as an aternative.

My question is how to code to replace the origial code?

PHP Code:
if (file($url)) {
        
$file fopen($url,'r');

        
$link_check_status false;

        while (!
feof($file)) {
          
$page_line trim(fgets($file4096));

          if (
eregi(LINKS_CHECK_PHRASE$page_line)) {
            
$link_check_status true;
            break;
          }
        } 
Do anybody know how to do it? Thank you

Lina