If you want to do relative includes, you must have a . in
your include_path.  Maybe this is what you are meaning to
do.  Please reread this:

  http://www.php.net/configuration.directives.php#ini.include-path

And if you still have problems after adjusting it and restarting
the web server, tell us your include_path definition and make
sure it's the same as reported in phpinfo().

Regards,
Philip

On Wed, 4 Dec 2002, Omar wrote:

> I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4).
> Everything went ok, but the include() function.
> I have problems when including files.
> I tried to specify a directory in the php.ini file but it still didn't work.
> This is how i have the include line:
> include ('file.inc');
> 
> I copied the file to the folder where my php file is, to the directory where
> originally was (x:\path\includes) and it doesn't work.
> I really need some help.
> Thanx.
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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

Reply via email to