|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-09-19 15:54 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jun 16 02:00:01 2026 UTC |
I'm trying to mirror php3 web site, all works fine, except for the "Source" button in pages outside the root directory. It seems that calling show_source with an absolute pathname conflicts with safe_mode. This is the result of calling show_source("/mystuff/news.php3") and show_source("/www/www.xt.net/htdocs/mystuff/news.php3") from a file called /www/www.xt.net/htdocs/query_telecom.php3 Warning: SAFE MODE Restriction in effect. Invalid owner. in /www/www.xt.net/htdocs/query_telecom.php3 on line 11 Fatal error: Failed opening required '/mystuff/news.php3' in /www/www.xt.net/htdocs/query_telecom.php3 on line 11 Warning: SAFE MODE Restriction in effect. Invalid owner. in /www/www.xt.net/htdocs/query_telecom.php3 on line 11 Fatal error: Failed opening required '/www/www.xt.net/htdocs/mystuff/news.php3' in /www/www.xt.net/htdocs/query_telecom.php3 on line 11 Calling show_source("mystuff/news.php3") or show_source("query_telecom.php3") works fine.