src/ShopRatingServiceBundle/objects/TShopAuskunftAPI.class.php
public function ReadFromURI($sURL)
    {
        $sBuf = '';
        $fp = @fopen($sURL, 'r');
        if (!$fp) {
            echo "<!-- shopauskunft - no connection! -->\n";
        } else {
            stream_set_timeout($fp, 5);
            while (!feof($fp)) {
                $sBuf .= fread($fp, 128);
            }
            fclose($fp);
        }

        return $sBuf;
    }
public function ReadFromURI($sURL)
    {
        $sBuf = '';
        $fp = @fopen($sURL, 'r');
        if (!$fp) {
            echo "<!-- shopauskunft - no connection! -->\n";
        } else {
            stream_set_timeout($fp, 5);
            while (!feof($fp)) {
                $sBuf .= fread($fp, 128);
            }
            fclose($fp);
        }

        return $sBuf;
    }
public function ReadFromURI ( $ sURL ) { $ sBuf = '' ; $ fp = @ fopen ( $ sURL , 'r' ) ; if ( ! $ fp ) { echo "<!-- shopauskunft - no connection! -->\n" ; } else { stream_set_timeout ( $ fp , 5 ) ; while ( ! feof ( $ fp ) ) { $ sBuf .= fread ( $ fp , 128 ) ; } fclose ( $ fp ) ; } return $ sBuf ; }
Get content from URL.

@param $sURL

@return string
Get content from URL .