|
Posted by Ivαn Sαnchez Ortega on 06/07/07 15:14
David T. Ashley wrote:
> Does require_once() treat "file.inc" and "subdirectory/file.inc" as the
> same things or different?
Different, of course.
> The reason for my question is that I'd like to organize my PHP library
> into subdirectories, and if I accidentally have a naming collision, I'm
> curious how require_once() will behave.
As usual: It will look for the specified filename in the current working
directory, then in the directories specified in the "Include dirs"
configuration directive.
Please RTFM for specifics.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
Navigation:
[Reply to this message]
|