Re: Difficulties including scripts from another folder (apache2.2, PHP5, Vista)
| From: | brice | Date: | Sun, 10 Jun 2007 00:02:50 +0000 |
| Subject: | Re: Difficulties including scripts from another folder (apache2.2, PHP5, Vista) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256516@lists.php.net to get a copy of this message | ||
Thanks a lot guys!
Eventually Richard hit on the issue:
require(".\foo.inc.php"); ?># If you put .\ in there, then maybe PHP thinks you mean to NOT use the include_path, but only the local directory? Take .\ out.it was the .\ that stopped it working. taking it out worked a treat! thanks again! Brice -- "Reality is that which, when you stop believing in it, doesn't go away."-Philip K. Dick