|
xattr_set
Set an extended attribute
(PECL xattr:0.9-1.0)
This function sets the value of an extended attribute of a file. Extended attributes have two different namespaces: user and root namespace. User namespace is available for all users while root namespace is available only for user with root privileges. xattr operates on user namespace by default, but you can change that using flags argument. Parameters
ExamplesExample 2627. Sets extended attributes on .wav file<?php
See Also
|