php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34679 include not affected by open_basedir
Submitted: 2005-09-29 12:19 UTC Modified: 2005-09-29 13:17 UTC
From: blfijgnk at no-spam dot hu Assigned:
Status: Not a bug Package: Safe Mode/open_basedir
PHP Version: 4.4.0 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: blfijgnk at no-spam dot hu
New email:
PHP Version: OS:

 

 [2005-09-29 12:19 UTC] blfijgnk at no-spam dot hu
Description:
------------
include not affected by open_basedir

Reproduce code:
---------------
open_basedir = /var/www

<?php
include('/etc/passwd');
?>



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-29 12:23 UTC] tony2001@php.net
1) Check that you're editing the right php.ini
2) Check that open_basedir is really set (see phpinfo())
3) Restart your web-server.

 [2005-09-29 12:27 UTC] blfijgnk at no-spam dot hu
from phpinfo:

open_basedir	/var/www	/var/www
 [2005-09-29 12:48 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Can't reproduce.
 [2005-09-29 13:03 UTC] blfijgnk at no-spam dot hu
bogus.

sorry, i got cached page from mmcache.
 [2005-09-29 13:17 UTC] tony2001@php.net
Not a bug -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC