PHP include paths
Posted by: DMA (---.freedom2surf.net)
Date: June 21, 2006 12:36AM

Hi

I'm a PHP developer, I develop on Unix platform freeware web applications. A windows user using wampserver is having problems with one of our scripts where includes are not working. We don't have a windows machine to develop on, but if we can reasonably get our scripts going for users of WAMP that would be great.

Are any of you aware of issues where php include and requires using "../" (dot dot slash) type paths would fail? I think I've seen backslashes on Windows machine, is that part of the problem?

Any information gratefull received.

Options: ReplyQuote
Re: PHP include paths
Posted by: dval (---.244.81.adsl.skynet.be)
Date: June 21, 2006 09:52PM

Exemple G-1. include_path sous Unix

include_path=".:/php/includes"


Exemple G-2. include_path sous Windows

include_path=".;c:\php\includes"

>> ..\tata\toto\includes

Options: ReplyQuote


Sorry, only registered users may post in this forum.