virtual nulls include problem

From: Date: Sun, 02 Sep 2001 05:57:56 +0000
Subject: virtual nulls include problem
Groups: php.general 
Request: Send a blank email to php-general+get-65629@lists.php.net to get a copy of this message
Hi. I use allways the include built in function to conditionally select the php script that build the web page. I need to add a header at he beginning of an already working script, but the directive include don't work:
    	<!-- #include virtual="../../../../headlvl4.shtml" -->
So I'm using
    	<% 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: 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. Any help will be very much appreciated

« previous php.general (#65629) next »