note 87929 deleted from function.clearstatcache by danbrown

From: Date: Wed, 31 Dec 2008 02:54:04 +0000
Subject: note 87929 deleted from function.clearstatcache by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148708@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- I think I found a typo: function get_owner($file) { $stat = stat($file); $user = posix_getpwuid($s['uid']); return $user['name']; } should be function get_owner($file) { $stat = stat($file); $user = posix_getpwuid($stat['uid']); return $user['name']; } [$stat replacing $s in the line beginning with $user]

« previous php.notes (#148708) next »