You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/22 12:05:23 UTC

DO NOT REPLY [Bug 20995] New: - only first #included php script runs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20995>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20995

only first #included php script runs 

           Summary: only first #included php script runs
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_include
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: polyamory@home.nl
                CC: polyamory@home.nl


<!--#include virtual="script.php" --> works only one time on a web page for 
php scripts. (and only php scripts, others no problem) example:

script.php:
    echo "World!";

body of test.html (with xbithack on and file mode 755):
    
    Hello <!--#include virtual="script.php" -->
    <br> Nice to meet you...<br>
    Bye <!--#include virtual="script.php" -->

Output:
    Hello World!
    Nice to meet you...
    Bye <!--#include virtual="script.php" -->

(The second 'world' is missing.)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org