PHP » GoLang |
login |
register |
about
|
GoLang RarEntry::extract
request it (396)
GoLang replacement for PHP's RarEntry::extract
[edit | history]
RarEntry::extract(PECL rar >= 0.1) RarEntry::extract — Extract entry from the archive Description
public bool RarEntry::extract
( string
$dir
[, string $filepath = ""
[, string $password = NULL
[, bool $extended_data = FALSE
]]] )
RarEntry::extract() extracts the entry's data.
It will create new file in the specified
Parameters
Warning
Prior to version 2.0.0, this function would not handle relative paths correctly. Use realpath() as a workaround. Return Values
Returns Changelog
Examples
Example #1 RarEntry::extract() example
<?php Example #2 How to extract all files in archive:
<?php |
more
Recently updated
more
Most requested
more
Last requests
|