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
  • Create a temporary file tmpfile

    tmpfile

    Createatemporaryfile
  • Get information about a connection linkinfo

    linkinfo

    Getinformationabouta
  • Read files (safely used in binary files) fread

    fread

    Readfiles(safelyused
  • Determine whether the given file name is writable is_writable

    is_writable

    Determinewhethertheg
  • Format input from a file fscanf

    fscanf

    Formatinputfromafile
  • alias for fwrite fputs

    fputs

    aliasforfwrite
  • Create a hard connection link

    link

    Createahardconnectio
  • Change file owner chown

    chown

    Changefileowner
Popular Articles