Current Location: Home> Function Categories> fileowner

fileowner

Get the file owner
Name:fileowner
Category:File system
Programming Language:php
One-line Description:The user ID of the file (owner).

Definition and usage

fileowner() function returns the owner of the file.

If successful, return all user IDs of the file. If it fails, return false. User ID is returned in numeric format.

Example

 <?php
echo fileowner ( "test.txt" ) ;
?>

grammar

 fileowner ( filename )
parameter describe
filename Required. Specify documents to be inspected.
Similar Functions
  • Read a line from a file pointer fgets

    fgets

    Readalinefromafilepo
  • Match file names with pattern fnmatch

    fnmatch

    Matchfilenameswithpa
  • Returns the location where the file pointer is read/write ftell

    ftell

    Returnsthelocationwh
  • Close an open file pointer fclose

    fclose

    Closeanopenfilepoint
  • Open process file pointer popen

    popen

    Openprocessfilepoint
  • alias for disk_free_space diskfreespace

    diskfreespace

    aliasfordisk_free_sp
  • Get the last access time of the file fileatime

    fileatime

    Getthelastaccesstime
  • Synchronize changes to files (including metadata) fsync

    fsync

    Synchronizechangesto
Popular Articles