note 87929 added to function.clearstatcache

From: Date: Wed, 31 Dec 2008 01:57:32 +0000
Subject: note 87929 added to function.clearstatcache
Groups: php.notes 
Request: Send a blank email to php-notes+get-148706@lists.php.net to get a copy of this message
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] ---- Server IP: 64.71.164.2 Probable Submitter: 172.130.41.49 ---- Manual Page -- http://www.php.net/manual/en/function.clearstatcache.php Edit -- https://master.php.net/note/edit/87929 Del: integrated -- https://master.php.net/note/delete/87929/integrated Del: useless -- https://master.php.net/note/delete/87929/useless Del: bad code -- https://master.php.net/note/delete/87929/bad+code Del: spam -- https://master.php.net/note/delete/87929/spam Del: non-english -- https://master.php.net/note/delete/87929/non-english Del: in docs -- https://master.php.net/note/delete/87929/in+docs Del: other reasons-- https://master.php.net/note/delete/87929 Reject -- https://master.php.net/note/reject/87929 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148706) next »