#17445 [Fbk->NoF]: open_basedir warning when including file in same dir

From: Date: Thu, 24 Oct 2002 06:00:04 +0000
Subject: #17445 [Fbk->NoF]: open_basedir warning when including file in same dir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23157@lists.php.net to get a copy of this message
ID: 17445 Updated by: php-bugs@lists.php.net Reported By: mitch@webcob.com -Status: Feedback +Status: No Feedback Bug Type: Scripting Engine problem Operating System: FreeB SD 4.4 PHP Version: 4.2.1 New Comment: No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-10-08 22:51:06] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-05-27 01:16:34] mitch@webcob.com I have set open_basedir = /home/user I have set include_path = .:/home/user/lib:/home/user/site/lib I have a file located in: /home/user/site/htdocs/ which requires another file in the same directory. <?php require_once('file2.php'); ?> The include WORKS. BUT IT PRODUCED A WARNING: Warning: open_basedir restriction in effect. File is in wrong directory in /home/user/site/htdocs/file1.php on line 3 File2 is here. The "File2 is here" is produced by the included file. I've seen others comment on this problem, but could find no solution or open occurance of it in the bug list. Thanks. Mitch. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17445&edit=1

« previous php.bugs (#23157) next »