note 25080 added to features.safe-mode
| From: | php-general at lists dot php dot net | Date: | Tue, 10 Sep 2002 08:19:40 +0000 |
| Subject: | note 25080 added to features.safe-mode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36428@lists.php.net to get a copy of this message | ||
disk_free_space($directory) is also restricted by the safe_mode ! It can also be completely
forbidden as this would allow a script to test the available space in order to fill it with a giant
file, preventing other scripts to use that space (notably in "/tmp").
disk_free_space() is then informational, and this does not prevent system quotas to limit the size
of your files to a value lower than the available free space!
Most web server admins that propose PHP hosting, will implement quotas for your hosting account, but
also on any shared resources such as temporary folders.
--
http://www.php.net/manual/en/features.safe-mode.php
http://master.php.net/manage/user-notes.php?action=edit+25080
http://master.php.net/manage/user-notes.php?action=delete+25080
http://master.php.net/manage/user-notes.php?action=reject+25080