The translation of PHP rar:// into Chinese is: PHP rar://

WBOY
Release: 2023-09-02 06:06:01
forward
970 people have browsed it

PHP rar:// 的翻译为中文是:PHP rar://

Introduction

RAR (Roshal Archive) is a file compression format that supports error recovery and file segmentation. PHP supports using .RAR files as IO streams. rar:// is a stream wrapper for RAR streams.

rar://Wrapper accepts relative or absolute URL-encoded paths to RAR archives. An optional (*), or (#) and an optional URL-encoded name of the entry to be stored in the archive. This wrapper can open files and directories.

If the pound sign and entry name part are not included, the root directory of the archive is displayed. Using RecursiveDirectoryIterator with wrappers requires including the hash sign in the URL.

This wrapper is not enabled by default. The rar extension from PECL (PHP Extension Community Library) must be installed.

Usage

rar://<url encoded archive name>[*][#[<url encoded entry name>]]
Copy after login

RAR context options

open_password The password used to encrypt the archive header, if any if.
file_password The password used to encrypt the file, if any. If the header is also encrypted, this option will be ignored and open_password will prevail.
volume_callback Callback function used to determine the path of a missing volume.

The above is the detailed content of The translation of PHP rar:// into Chinese is: PHP rar://. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!