note 116374 added to function.chown
| From: | php at nonlontano dot it | Date: | Mon, 22 Dec 2014 20:11:59 +0000 |
| Subject: | note 116374 added to function.chown | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201238@lists.php.net to get a copy of this message | ||
If you get a
PHP Warning: chown(): Unable to find uid for 1234 in foo.php on line 9
<?php
$n='zzzzA'.time();
mkdir ($n);
//$uidnumber = $argv[1]; // PHP Warning: chown(): Unable to find uid for...
$uidnumber = (int)$argv[1];
chown($n,$uidnumber);
chgrp($n,$uidnumber);
----
Server IP: 72.52.91.14
Probable Submitter: 5.150.130.12
----
Manual Page -- http://php.net/manual/en/function.chown.php
Edit -- https://master.php.net/note/edit/116374
Del: integrated -- https://master.php.net/note/delete/116374/integrated
Del: useless -- https://master.php.net/note/delete/116374/useless
Del: bad code -- https://master.php.net/note/delete/116374/bad+code
Del: spam -- https://master.php.net/note/delete/116374/spam
Del: non-english -- https://master.php.net/note/delete/116374/non-english
Del: in docs -- https://master.php.net/note/delete/116374/in+docs
Del: other reasons-- https://master.php.net/note/delete/116374
Reject -- https://master.php.net/note/reject/116374
Search -- https://master.php.net/manage/user-notes.php