Having more than one file with the same name isn't a very good idea in the
first place if you ask me.
Also I do not know how Apache reacts to having more than 1 path assigned to
include_path.
If Apache thinks it's ok, then try to find answers to the following when
including/requireing files.

"which path gets looked at first?"
"if more then one file with the required name excists in one of the paths,
which will Apache then pick and why?"

If I were you I would:
1. maybe only use one include_path.
2. make sure that each file has a unique name.

That would solve many of you problems at hand as well as the many others you
have coming, as I see it.
I'm no pro myself though, but I have used php with Apache for some time now.


"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm new with php. I've installed  apache 1.27, php 4.2.2 with windows 2000
and I'm trying to realize a
web site.
The include_path setting is:
".;C:/xxx/yyy/includes/others;C:/xxx/yyy/includes/myfiles"
I get authentication.php in my include path and, unfortunatly, an other
authentication.php does exist in the 2° path and is processed before my
authentication.php file, and maybe gets a function name
like one of mine.
When, in a file I write: include("authentication.php"), my file is never
included; php includes the first
one that finds.
What can I do to resolve this problem?

Thanks.

John M.





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to