#23752 [NEW]: Three level include crashes PHP

From: Date: Thu, 22 May 2003 12:57:24 +0000
Subject: #23752 [NEW]: Three level include crashes PHP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40189@lists.php.net to get a copy of this message
From: martzell+php at fastmail dot fm Operating system: Windows 2000 PHP version: 4.3.1 PHP Bug Type: Reproducible crash Bug description: Three level include crashes PHP 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 bug report at http://bugs.php.net/?id=23752&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23752&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23752&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23752&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23752&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23752&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23752&r=support Expected behavior: http://bugs.php.net/fix.php?id=23752&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23752&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23752&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23752&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23752&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23752&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23752&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23752&r=gnused

« previous php.bugs (#40189) next »