Re: virtual nulls include problem

From: Date: Sun, 02 Sep 2001 20:31:44 +0000
Subject: Re: virtual nulls include problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65671@lists.php.net to get a copy of this message
> <% virtual ("../../../../headlvl4.shtml"); %> > > This works fine for the header, but makes an error when the include > built in function calls the php script that shows the main panel of the > page: I don't see how the virtual() is involved here at all: > Warning: Failed opening './barra.php' for inclusion > (include_path='.:/usr/local/lib/php') in > /www/public/blabla/bla/re-blah/another_blah/blahh/blahblahblah/main.php > on line 44 > > I've tried to put the dot ahead the name but it is no working either. Either barra.php lives next to (in the same directory as) main.php, or it lives in /usr/local/lib/php, or you're not going to get it to work. You'll have to change your include_path to have the path of barra.php, or you'll have to change your include './barra.php' to be relative to one of the two paths in include_path. PS I always used include_path "./:..." rather than just ".:...", but I'm not sure it matters. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#65671) next »