ID: 35744 Updated by: [EMAIL PROTECTED] Reported By: rudenko at id dot com dot ua -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Fedora Core 3 PHP Version: 5.1.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-12-20 15:34:58] rudenko at id dot com dot ua If I use your script I have same results as yours. bool(true) bool(true) bool(true) ------------------------------------------------------------------------ [2005-12-20 15:26:47] [EMAIL PROTECTED] #php -d safe_mode=1 -r 'var_dump(ini_get("safe_mode")); var_dump(is_file("/etc/passwd")); var_dump(file_exists("/etc/passwd")); var_dump(is_readable("/etc/passwd"));' string(1) "1" bool(true) bool(true) bool(true) # whoami root PHP 5.0.6-dev PHP 5.1.2-dev PHP 4.4.2RC2-dev ------------------------------------------------------------------------ [2005-12-20 15:14:50] rudenko at id dot com dot ua I reproduce same bug on FreeBSD 6 server. 1. In your php.ini file you must set safe_mode = On 2. You must start script from shell ------------------------------------------------------------------------ [2005-12-20 15:03:26] [EMAIL PROTECTED] I'm still unable to reproduce it. ------------------------------------------------------------------------ [2005-12-20 14:57:56] rudenko at id dot com dot ua Installing latest snapshot 2005-12-20 11:30 does not solve this problem ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35744 -- Edit this bug report at http://bugs.php.net/?id=35744&edit=1