Hello,

I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this :

set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);

When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path as a string :

(include_path='.;c:\Program Files\Apache Software Foundation\Apache2.2\htdocs\local;\library')

In front of the PATH_SEPARATOR is a ';' and causes the error.
I have checked and double-checked but cannot find this ';'... Can someone help me on this one ?
Thanx

missed the ball completely on this one... ';' IS the path_separator. But I still don't know why include_path doesn't let me get my files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.