#47595 [Opn->Csd]: 'Include' outputs only included file.
| From: | stas87 at i dot ua | Date: | Sun, 08 Mar 2009 08:58:02 +0000 |
| Subject: | #47595 [Opn->Csd]: 'Include' outputs only included file. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134478@lists.php.net to get a copy of this message | ||
ID: 47595
User updated by: stas87 at i dot ua
Reported By: stas87 at i dot ua
-Status: Open
+Status: Closed
Bug Type: Output Control
Operating System: Vista
PHP Version: 5.2.9
New Comment:
Sorry! The problem is solved! Forgot about mod_rewrite...
Previous Comments:
------------------------------------------------------------------------
[2009-03-08 08:12:18] stas87 at i dot ua
Description:
------------
When i try to include file it outputs only that file without the page
on which it was included
Reproduce code:
---------------
contents of file index.php
<?php
include"./file.php";
?>
Expected result:
----------------
contents of file index.php
included contents of file ./file.php
Actual result:
--------------
included contents of file ./file.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47595&edit=1