irm-1.6-b3/MDB/querysim.php
/**
     * Read an external file
     *
     * @param string filepath/filename
     *
     * @access private
     *
     * @return string the contents of a file
     */
Read an external file
@param string filepath/filename

@access private

@return string the contents of a file
Read an external file @param string filepath / filename @access private @return string the contents of a file
function _readFile()
    {
        $buffer = '';
        if ($this->opened_persistent) {
            while (!feof($this->connection)) {
                $buffer .= fgets($this->connection, 1024);
            }
        } else {
            $this->connection = @fopen($this->selected_database, 'r');
            while (!feof($this->connection)) {
                $buffer .= fgets($this->connection, 1024);
            }
            $this->connection = @fclose($this->connection);
        }
        return $buffer;
    }
function _readFile ( ) { $ buffer = '' ; if ( $ this -> opened_persistent ) { while ( ! feof ( $ this -> connection ) ) { $ buffer .= fgets ( $ this -> connection , 1024 ) ; } } else { $ this -> connection = @ fopen ( $ this -> selected_database , 'r' ) ; while ( ! feof ( $ this -> connection ) ) { $ buffer .= fgets ( $ this -> connection , 1024 ) ; } $ this -> connection = @ fclose ( $ this -> connection ) ; } return $ buffer ; }
Read an external file
 @param string filepath/filename
Read an external file @param string filepath / filename