Get the file owner
<?php $uid = fileowner("/etc/passwd"); // Returns "0" on Linux, as root typically has UID of 0. echo $uid; ?>