Include() in included file

From: Date: Sat, 15 Mar 2003 10:34:35 +0000
Subject: Include() in included file
Groups: php.general 
Request: Send a blank email to php-general+get-139833@lists.php.net to get a copy of this message
Hello all! In index.php I include a file template.php using <?php // this is index.php file include('template.php'); ?> Works fine. In template.php I'm using include function too <?php // this is template.php file echo 'before include'; include('header.php'); echo 'after include'; ?> Works fine on all machines I installed it till now: Windows (NT, 98), Linux (some of them). But I installed it on FreeBSD and... surprise. When I call index.php, all I get is "before include". No header.php content, no "after include" phrase. And there is no warning or error message. Has anybody got an idea what is wrong? Cheers, Hubi

« previous php.general (#139833) next »