|
ZipArchive::setExternalAttributesNameSet the external attributes of an entry defined by its name Description
bool
ZipArchive::setExternalAttributesName
( string
$name
, int $opsys
, int $attr
[, int $flags
] )Set the external attributes of an entry defined by its name. Parameters
Return Values
Returns ExamplesThis example opens a ZIP file archive test.zip and add the file test.txt with its Unix rights as external attributes. Example #1 Archive a file, with its Unix rights
<?php |