|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-20 19:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
When I turn off allow_url_fopen in php.ini the safe_mode UID check seems to be disabled. With "allow_url_fopen = on" an include("/etc/passwd") returns the following error: "The script whose uid is 10000 is not allowed to access /etc/passwd owned by uid 0" after I've changed the settings to "allow_url_fopen = off" the inclusion works fine, so there is no way to prevent customers from including external files and local system files.