#26858 [Opn->Bgs]: php_value is buggy for paths

From: Date: Sun, 11 Jan 2004 01:15:31 +0000
Subject: #26858 [Opn->Bgs]: php_value is buggy for paths
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53084@lists.php.net to get a copy of this message
ID: 26858 Updated by: sniper@php.net Reported By: webmaster at cricel dot com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Win32 Widows XP PHP Version: 4.3.4 New Comment: Can not reproduce with latest CVS. (and AFAICT, it's apache bug if any) Previous Comments: ------------------------------------------------------------------------ [2004-01-10 09:07:17] webmaster at cricel dot com Description: ------------ Using php_value to set include_path into httpd.conf or .htaccess keeps the last " into the variable. Example, php_php_value include_path "/mydisk/mydir/" will set include_path to /mydisk/mydir/" therefore any include/require statement will build /mydisk/mydic/"myfile.inc.php while is expected /mydisk/mydic/myfile.inc.php Reproduce code: --------------- php_value include_path "C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\" Expected result: ---------------- C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\ Actual result: -------------- C:\Documents and Settings\JM\Mes documents\Web\www\html\ssi\php\" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26858&edit=1

« previous php.bugs (#53084) next »