/*
     * 获取文件内容
     *
     */
    public function getLocalFileContents($file)
    {
        $handle = @fopen($file, "rb");
        if ( !$handle )
        {
            return false;
        }
        else
        {
            $strContents = @fread( $handle, filesize( $file ) ) ;
            @fclose($handle);
            return $strContents;
        }
    }

04-17 18:18