Doesn't work two and more <!--include--> directives of PHP code on different OS
| Bug #17868 | Doesn't work two and more <!--include--> directives of PHP code on different OS | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2002-06-20 03:45 UTC | Modified: | 2004-06-29 12:14 UTC |
|
||||||||||
| From: | messiah at hotbox dot ru | Assigned: | ||||||||||||
| Status: | Closed | Package: | Apache2 related | |||||||||||
| PHP Version: | 4.3.0-dev | OS: | * | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2002-06-20 03:45 UTC] messiah at hotbox dot ru
When I try to include some scripts in html file, I find that when I include like this: <!--#include virtual="test.html"--> <!--#include virtual="test.html"--> all includes OK. When like this: <!--#include virtual="test2.cgi"--> <!--#include virtual="test2.cgi"--> all tracers and includes OK. When like this: <!--#include virtual="test3.php"--> <!--#include virtual="test3.php"--> tracers only first include. I mean, how many different includes of php scripts you write in, only first will parse. When I include script with really wrong filename I see in apache logs error like: [Wed Jun 19 11:11:16 2002] [error] [client 127.0.0.3] unable to include "abo234ut.php" in parsed file C:/www/kw/htdocs/index.html But when all filenames are valid and scripts working OK, includes only first include of PHP script. I try two versions of PHP - php-4.2.1-Win32 and php-4.0.6-Win32 and both did such boo boo |-: After all I uninstalled Apache2 and install back apache_1.3.20-win32 and all includes start works again OK. All of PHP, cgi, html includes parses OK and work good. After all I asked my friend to test such bug and hi find that his Apache 2.0.36 and PHP4 made such bug too. He ran whem under Win98.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2002-06-24 00:21 UTC] dave at nobodynet dot net
[2002-06-24 02:07 UTC] messiah at hotbox dot ru
[2002-07-06 09:08 UTC] art at kzn dot ru
[2002-07-19 01:26 UTC] Darryl dot Friesen at usask dot ca
[2002-08-17 12:34 UTC] aaron@php.net
[2002-08-22 10:15 UTC] dave at noobdynet dot net
[2002-10-09 10:34 UTC] thejoyoflinux at yahoo dot com
[2002-10-09 10:36 UTC] alindeman@php.net
[2002-12-14 03:37 UTC] arborrow at jesuits dot net
[2002-12-14 04:42 UTC] rasmus@php.net
[2002-12-23 15:23 UTC] jani at mikkonen dot org
[2002-12-23 16:17 UTC] rasmus@php.net
[2003-01-17 08:13 UTC] olegs at itsinpi dot ru
[2003-01-21 13:11 UTC] mike_tharp at hermanmiller dot com
[2003-01-28 10:35 UTC] iliaa@php.net
[2003-02-12 13:50 UTC] Darryl dot Friesen at usask dot ca
[2003-02-13 09:40 UTC] lists at holsman dot net
[2003-05-28 12:56 UTC] joe at joe-lewis dot com
[2003-05-28 17:56 UTC] sniper@php.net
[2003-12-01 08:47 UTC] raphael at segal dot com dot au
[2003-12-30 12:22 UTC] ccarroll4 at hotmail dot com
[2004-06-29 12:03 UTC] scott at afmmail dot com
[2004-06-29 12:14 UTC] rasmus@php.net
[2004-10-04 06:17 UTC] drew at pod6 dot ca