#23752 [Opn->Fbk]: Three level include crashes PHP

From: Date: Thu, 22 May 2003 13:00:34 +0000
Subject: #23752 [Opn->Fbk]: Three level include crashes PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40190@lists.php.net to get a copy of this message
ID: 23752 Updated by: wez@php.net Reported By: martzell+php at fastmail dot fm -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-05-22 07:57:24] martzell+php at fastmail dot fm The php.exe crashes when I try to include a file which includes a file one level higher, which also includes a file one level higher. Can't PHP include files three times? My website navigation based on includes. The ./navigation.inc.php includes ../navigation.inc.php and contains links. So I have a simple two level navigation based on includes. This works. But now I needed a third level of navigation. So a third navigation.inc.php includes the file, which contains the second level navigation and the include to the first level navigation. I think the good stable SSI (Server Side Includes) isn't interpreted in .php-files by default, before the PHP is interpreted or interpreted at all. So SSI is no solution like in ASP which has no own include directive. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23752&edit=1

« previous php.bugs (#40190) next »