Bug #15589 Updated: include() output order is weird

From: Date: Sun, 17 Feb 2002 10:05:13 +0000
Subject: Bug #15589 Updated: include() output order is weird
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-457@lists.php.net to get a copy of this message
ID: 15589 Updated by: sander@php.net Reported By: webmaster@rosenkeller.org -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux (SuSE 7.0) PHP Version: 4.1.1 New Comment: The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php It's very likeley that you're doing something wrong. Previous Comments: ------------------------------------------------------------------------ [2002-02-16 18:59:55] webmaster@rosenkeller.org Hi, I've just stumbled across this problem: I have a few pages which all include one file that does some functionality needed for session management. Now I have a problem in one of these pages (the other ones seem to work): the output from the included file is not completely output before the "including" script continues; instead, I have something like this: ### output from include() ### rest of the "including" file ### output from include() (remaining portion). In short, the last thing the included file should output is "</table>". But I get everything until "</", then the output from the including file, then "table>". In "long": I have put the concerned scripts at https://members.rosenkeller.org/phpbug/ The file "logout.php" includes "session.php". The corresponding "logout-src.php" and "session-src.php" simply show the source code of the respective file; I have also included phpinfo.php which shows the results of phpinfo(). If you have a look at the HTML source that output.php produces, you should see what I mean (the "warning: undefined variable" is normal, because there is no session). I think that this is a bug; if I overlooked something instead (maybe some configuration option?) I'd be pleased to hear what it is... Thank you in advance, and keep the great work up! :-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15589&edit=1

« previous php.bugs (#457) next »