|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-03 15:49 UTC] keremtuzemen at hotmail dot 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. \ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Feb 04 12:00:01 2026 UTC |
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.