Re: Include() in included file

From: Date: Sun, 16 Mar 2003 10:55:39 +0000
Subject: Re: Include() in included file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139836@lists.php.net to get a copy of this message
Hi Hubert, Check if there display_errors in your php.ini is set to Yes, and also take a look at your apache error log when you execute this page, probably you will see an error there. Best regards, Veniamin Goldin Interlogics, Inc. Вы писали 15 марта 2003 г., 12:34:35: HK> Hello all! HK> In index.php I include a file template.php using HK> <?php HK> // this is index.php file HK> include('template.php'); ?>> HK> Works fine. In template.php I'm using include function too HK> <?php HK> // this is template.php file HK> echo 'before include'; HK> include('header.php'); HK> echo 'after include'; ?>> HK> Works fine on all machines I installed it till now: Windows (NT, 98), Linux HK> (some of them). But I installed it on FreeBSD and... surprise. When I call HK> index.php, all I get is "before include". No header.php content, no "after HK> include" phrase. And there is no warning or error message. Has anybody got HK> an idea what is wrong? Cheers, HK> Hubi -- С уважением, Veniamin venia@4you.lt

« previous php.general (#139836) next »