Toms Homepage
  Home    Downloads    Your Account    Forums  
  Create an account
Modules
· Home
· Games
· My Gallery
· PHP Manual
· PHP-Nuke HOWTO
· Web Links
· Your Account
 
Who's Online
Welcome, Anonymous
Nickname

Password

Security Code
Security Code
Type Security Code


(Register)

Membership:
Latest: ncmmbhvfwx
New Today: 2
New Yesterday: 546
Overall: 47987

People Online:
Visitors: 93
Members: 8
Total: 101

Online Now:
COM MirtaBapt
 ClaudeOre
COM VilmaPrk
 JulietH63
 BeckyJone
 MylesDSCL
COM GenieHobb
COM MorrisLem
 
xattr_supported

xattr_supported

(no version information, might be only in CVS)

xattr_supported --  Check if filesystem supports extended attributes

Description

bool xattr_supported ( string filename [, int flags] )

This functions checks if the filesystem holding the given file supports extended attributes. Read access to the file is required.

Parameters

filename

The path of the tested file.

flags

Table 1. Supported xattr flags

XATTR_DONTFOLLOW Do not follow the symbolic link but operate on symbolic link itself.



Return Values

This function returns TRUE if filesystem supports extended attributes, FALSE if it doesn't and NULL if it can't be determined (for example wrong path or lack of permissions to file).

Examples

Example 1. xattr_supported() example

The following code checks if we can use extended attributes.

<?php
$file
= 'some_file';

if (
xattr_supported($file)) {
    
/* ... make use of some xattr_* functions ... */
}

?>


All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004 by Tom Nitzschner.
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.114 Seconds

:: VereorLCARS phpbb2 style by Vereor :: PHP-Nuke theme by www.nukemods.com ::