#21398 [Fbk->Opn]: absolute path problems when include_path is set...

From: Date: Fri, 03 Jan 2003 23:24:05 +0000
Subject: #21398 [Fbk->Opn]: absolute path problems when include_path is set...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29024@lists.php.net to get a copy of this message
ID: 21398 User updated by: keremtuzemen@hotmail.com Reported By: keremtuzemen@hotmail.com -Status: Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: Win2K PHP Version: 4.3.0 New Comment: I've tried to write a script to regenerate the behavior. I think I've missed something or php.ini settings were cached somehow. Now, everything seems working fine. Sorry for bothering you guys. But I still have a question. In old versions (4.1.x) when giving an absolute path like : include ("\includesdir\includedfile.php"); everything was working fine. With 4.3.0 the leading backslash is causing problems and makes php report "failed to create stream". But include ("includesdir\includedfile.php"); works. Is there something I'm missing? If the reason is a structural change, I thought, there should be a switch to set this behavior but couldn't find anything related. Thanks for the quick reply and I'm really sorry to waste your time. I'd really appreciate it if you can answer my question. Previous Comments: ------------------------------------------------------------------------ [2003-01-03 16:25:32] nicos@php.net Can you please give us a script that reproduce your problem so we can really check the issue? Thank you for your report. ------------------------------------------------------------------------ [2003-01-03 15:49:30] keremtuzemen@hotmail.com If include_path in php.ini is set, absolute paths with include and include_once do not work. If include_path is commented out with ; in php.ini they work fine. \ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21398&edit=1

« previous php.bugs (#29024) next »