#40585 [Opn->Bgs]: require and include failed with files names foo.tpl.php
| From: | tony2001@php.net | Date: | Wed, 21 Feb 2007 20:22:39 +0000 |
| Subject: | #40585 [Opn->Bgs]: require and include failed with files names foo.tpl.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109283@lists.php.net to get a copy of this message | ||
ID: 40585
Updated by: tony2001@php.net
Reported By: cmorg at code dot de
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: FreeBSD 6.2 STABLE
PHP Version: 5.2.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-02-21 20:16:00] cmorg at code dot de
Description:
------------
Include or require causes an Fatal Error when you want to load a file
name something.tpl.php . Named the file without .tpl like something.php
then there is no problem.
Reproduce code:
---------------
test.tpl.php and test.php:
<?
phpinfo();
?>
include.php:
<?
# failed
require 'test.tpl.php';
# success
require 'test.php';
?>
Expected result:
----------------
see phpinfo page
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40585&edit=1