Function read_tgz_file
Reads a .tar.gz file, filename, in and extracts file(s) from it. essentially just a shortcut for read_tgz_data().
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Package.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Package.php
string |
$gzfilename |
The path to the tar.gz file |
string |
$destination |
The path to the desitnation directory |
boolean |
$single_file = false |
If true returns the contents of the file specified by destination if it exists |
boolean |
$overwrite = false |
Whether to overwrite existing files |
null|array |
$files_to_extract = null |
Specific files to extract |
array|false
|
An array of information about extracted files or false on failure |