note 56673 added to function.is-writable
| From: | JimmyNighthawk at osu1 dot php dot net | Date: | Mon, 12 Sep 2005 09:02:08 +0000 |
| Subject: | note 56673 added to function.is-writable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95037@lists.php.net to get a copy of this message | ||
Regarding you might recognize your files on your web contructed by your PHP-scripts are grouped as
NOBODY you can avoid this problem by setting up an FTP-Connection ("ftp_connect",
"ftp_raw", etc.) and use methods like "ftp_fput" to create these [instead of
giving out rights so you can use the usual "unsecure" way]. This will give the files
created not the GROUP NOBODY - it will give out the GROUP your FTP-Connection via your FTP-Program
uses, too.
Furthermore you might want to hash the password for the FTP-Connection - then check out:
http://dev.mysql.com/doc/mysql/en/Password_hashing.html
----
Manual Page -- http://www.php.net/manual/en/function.is-writable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56673
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56673&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56673&report=yes
Search -- http://master.php.net/manage/user-notes.php