说明

The wrapper takes the url encoded path to the RAR archive (relative or absolute),

an optional asterik (*), an optional number sign

(#) and an optional url encoded entry name, as stored in the

archive. Specifying an entry name requires the number sign; a leading forward

slash in the entry name is optional.

This wrapper can open both files and directories. When opening directories, the

asterisk sign forces the directory entries names to be returned unencoded. If it's

not specified, they will be returned url encoded – the reason for this is to allow

the wrapper to be correctly used with built-in functionality like the

RecursiveDirectoryIterator in the presence of file names that seem like

url encoded data.

If the pound sign and the entry name part are not included, the root of the archive

will be displayed. This differs from regular directories in that the resulting

stream will not contain information such as the modification time, as the root

directory is not stored in an individual entry in the archive.

The usage of the wrapper with RecursiveDirectoryIterator requires

the number sign to be included in the URL when accessing the root, so that the

URLs of the children may be constructed correctly.

注意:

This wrapper is not enabled by default

In order to use the rar:// wrapper, you must install

the » rar extension

available from » PECL.

rar://

Available since PECL rar 3.0.0

php rar_PHP: rar:// - Manual相关推荐

  1. Ubuntu rar 解压乱码问题解决

    解压.rar 的文件后发现乱码,网上是这么解释的: ubuntu默认是无法解压缩rar格式的文件,需要安装其他软件. 如果安装的是rar,解压rar文件会遇到中文乱码,原因在于该rar文件中的编码与u ...

  2. 在ubuntu16.04下,使用unrar解压缩rar文件

    1 使用apt-cache命令查找包 zhai@zhai:~/Downloads$ apt-cache search rar | grep rar rar - Archiver for .rar fi ...

  3. 华铸DCcae80 铸铝 压铸软件.rar

    金昌Ex9000完全破解/ e:/_soft/53/ Virtual.NanoLab.v2008.10.Linux32.rar AUTODESK.MOLDFLOW.V2010 注塑成型仿真分析软件/ ...

  4. 服务器使用——解压常见文件tar、zip、rar等

    服务器使用--解压常见文件tar.zip.rar等 一.解压文件 1.tar文件 tar -cf all.tar *.jpg # 这条命令是将所有.jpg的文件打成一个名为all.tar的包.-c是表 ...

  5. asp.net利用RAR实现文件压缩解压缩【月儿原创】

    asp.net利用RAR实现文件压缩解压缩 作者:清清月儿 主页:http://blog.csdn.net/21aspnet/           时间:2007.6.13 如果服务器上安装了RAR程 ...

  6. SQL查询1064报错 [ERR] 1064 - You have an error in your SQL syntax; check the manual.......

    MySQL建表出现1064问题问题 SQL语句 DROP DATABASE IF EXISTS bookstore; DROP DATABASE bookstore; USE bookstore; C ...

  7. rar for linux缺少GLIBC_2.7

      今天安装rar4.0 for linux,遇到了一个缺少GLIBC_2.7的问题,弄了好久才成功,记录一下,以备不时之需. 系统版本为CentOS 5.5.下载了rar4.0 for linux源 ...

  8. 提权巧用RAR.EXE

    rar.exe是什么?它就是大名鼎鼎的winrar自带的命令行解压程序.在提权中我们经常要下载各种敏感文件,比如:SU目录.你想一下,如果su目录文件这么多,难道你要一个个的下载??这明显就很麻烦,有 ...

  9. 如何在linux下解压缩rar格式的文件压缩包

    前言:没有特殊原因,文档如果要传到linux上,一定要打成*.zip格式, 这样方便解压,一般来说没有理由要用rar.关于 linux上unzip命令有空细讲, 本节讲下,如何让linux支持解压缩r ...

最新文章

  1. 类和对象—对象特性—静态成员函数
  2. CSS设置七彩的下拉菜单
  3. Python运算符和编码
  4. Linux系统编程(一)
  5. (多线程)leetcode1117. H2O 生成 认识Java中的PV原语
  6. 在10000以内判断一个整数,它加上100和加上268后都是一个完全平方数 3 提问:请问该数是多少?...
  7. 2021大二实训part01
  8. 二、CSS基础(1)
  9. WinEdt LaTex(三)—— 宏包
  10. Bluebird-Collections
  11. 如何提取PDF页面?3种拆分PDF的方法
  12. Metpy_气象物理量计算(相对湿度、露点温度、湿位涡等)
  13. 而立之年才感悟到的一些箴言:
  14. 国产MCU替代STM8S003方案汇总
  15. 中国云计算产业发展白皮书
  16. c语言扇形打印图片,圆形CD绘制 (扇形)
  17. 白金域名你了解多少?
  18. goland本地包import飘红
  19. FPGA设计经验之图像处理
  20. npm安装慢 ,卡在sill idealTree buildDeps不动

热门文章

  1. Python获取2019-nCoV疫情实时追踪数据
  2. 立足国产自主可控技术 达梦DM8数据库新品化繁为简
  3. 5G精华问答 | 除了速度,5G还能带来什么?
  4. 数据解读京东上最受欢迎的面包
  5. 重装linux之后gcc等下载不了,Redhat linux下安装gcc
  6. mysql bin oct_python 讲解进制转换 int、bin、oct、hex
  7. sketch里的ios控件_使用Sketch建立Design System
  8. oracle解决存储嗅探,DBA警示录:存储故障的处理应当谨慎
  9. Flowable 数据库表结构 ACT_RU_VARIABLE
  10. 重学 VBA - 基础与实战篇(含正则表达式)