Witam, na moim serwerze mam wylaczony allow_url_open i dlatego te kody ktore nie dzialaja
musze zmienic na kody cURL'a tylko nie potrafie wykombinowac za pomoca manuala php.net

oto fragment kodu:
  1. <?php
  2. $file = fopen($data['url'], 'r');
  3.        if($file)
  4.        {
  5.            while(!feof($file))
  6.            {
  7.                $buffer = fgets($file, 4096);
  8.              
  9.                if($quote_start && !$quote_end && strstr($buffer, $data['tag_end']))
  10.                    $quote_end = true;
  11.              
  12.                if($quote_start && !$quote_end)
  13.                    $result .= $buffer;
  14.              
  15.                if(!$quote_start && !$quote_end && strstr($buffer, $data['tag_start']))
  16.                    $quote_start = true;
  17.            }
  18.            fclose($file);
  19. ?>

czyli musze zmienic te co nie dzialaja to: fopen(), feof(), fgets(), fclose()

Moze ktos pomoze rozwiazac problem ?