#18696 [Dup->Csd]: Only the first include of php file from shtml works
| From: | sniper@php.net | Date: | Mon, 03 Feb 2003 17:39:17 +0000 |
| Subject: | #18696 [Dup->Csd]: Only the first include of php file from shtml works | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31999@lists.php.net to get a copy of this message | ||
ID: 18696
Updated by: sniper@php.net
Reported By: newsp@jippii.fi
-Status: Duplicate
+Status: Closed
Bug Type: Apache2 related
Operating System: Solaris 8
PHP Version: 4.2.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-09-09 06:11:53] newsp@jippii.fi
Duplicate to 17868
------------------------------------------------------------------------
[2002-08-17 12:42:24] aaron@php.net
This looks like a duplicate of bug 17868. Take a look over
there and see if they match what you are seeing.
------------------------------------------------------------------------
[2002-08-02 02:37:19] newsp@jippii.fi
I have this wierd problem: Only the first include of php file from
shtml works ok, following ones are not parsed at all. Is this a bug of
apache2 support or something I have misconfigured?
For example if I have following files:
-- test.shtml --
<!--#include virtual="test.php"-->
<!--#include virtual="test.php"-->
-- test.shtml --
and
-- test.php --
<? print "a"; ?>
-- test.php --
the output of test.shtml is:
a<? print "a"; ?>
I have tried following configurations:
--
AddOutputFilter INCLUDES shtml
AddType application/x-httpd-php .php
--
and
--
AddOutputFilter INCLUDES;PHP shtml
--
and
--
AddType application/x-httpd-php .php
AddHandler server-parsed .shtml
--
And the result is always the same.
Is this a bug or feature?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18696&edit=1