source/Core/UtilsFile.php
public function readRemoteFileAsString($sPath)
    {
        $sRet = '';
        $hFile = @fopen($sPath, 'r');
        if ($hFile) {
            socket_set_timeout($hFile, 2);
            while (!feof($hFile)) {
                $sLine = fgets($hFile, 4096);
                $sRet .= $sLine;
            }
            fclose($hFile);
        }

        return $sRet;
    }
public function readRemoteFileAsString($sPath)
    {
        $sRet = '';
        $hFile = @fopen($sPath, 'r');
        if ($hFile) {
            socket_set_timeout($hFile, 2);
            while (!feof($hFile)) {
                $sLine = fgets($hFile, 4096);
                $sRet .= $sLine;
            }
            fclose($hFile);
        }

        return $sRet;
    }
public function readRemoteFileAsString ( $ sPath ) { $ sRet = '' ; $ hFile = @ fopen ( $ sPath , 'r' ) ; if ( $ hFile ) { socket_set_timeout ( $ hFile , 2 ) ; while ( ! feof ( $ hFile ) ) { $ sLine = fgets ( $ hFile , 4096 ) ; $ sRet .= $ sLine ; } fclose ( $ hFile ) ; } return $ sRet ; }
Reads remote stored file. Returns contents of file.

@param string $sPath Remote file path & name

@return string
Reads remote stored file . Returns contents of file .