note 51318 added to ref.filesystem
| From: | info at mad4dweb dot com | Date: | Sun, 27 Mar 2005 08:51:24 +0000 |
| Subject: | note 51318 added to ref.filesystem | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87044@lists.php.net to get a copy of this message | ||
How can i create a file or folder that mantains the userid of the script?
My script system userid is user39 and i want to create a folder that its owned by the userid39 and
not the user www
how can this be done with out using safe_mode or FTP.
by the way i turned on safe mode and it didnt work also.
I already tested with .htaccess validation and sessions and still it creates the file or folder with
owner www.
Chown is restricted becasue only root can do it is there any work arround!!!
----
Manual Page -- http://www.php.net/manual/en/ref.filesystem.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51318
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51318&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51318&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51318&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51318&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51318&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51318&report=yes
Search -- http://master.php.net/manage/user-notes.php