ID: 12171
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: MandrakeLinux 8.0.
PHP Version: 4.0.4pl1
New Comment:

This sounds like a most likely a file permission problem to me.
If  you think this is a bug, please provide the reason.

Previous Comments:
------------------------------------------------------------------------

[2001-07-14 19:55:33] [EMAIL PROTECTED]

I have just installed MandrakeLinux 8.0.  I have a PHP program that contains the 
following require() function -->
require($PS_BASE.'modules/core/lib/ps_page_open.inc'); <-- This require() picks up 
code outside my web tree for security reasons.  When executed I get the following 
error --> Fatal error: Failed opening required '/home/phpshop/phpshop- 
core/modules/core/lib/ps_page_open.inc' (include_path='') in 
/var/www/html/admin/prepend.php on line 14. <--
If I execute the require(), pointing at the same directory as the requesting program, 
it works just fine.  What do I need to do to execute a require() against code outside 
of my web tree.  What product would be causing the problem? (Mandrake, PHP, Apache, 
...).


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12171&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to