ID: 12299
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: Debian Potato 2.2.19
PHP Version: 4.0.6
New Comment:
I was able to reproduce this with the latest CVS of PHP 4.0.7-dev on Win32, built as
CGI and the following script:
<?php
session_start();
?>
<html>
<body>
</body>
</html>
output:
<html>
<body>
</body>
</
Previous Comments:
------------------------------------------------------------------------
[2001-07-21 12:16:17] [EMAIL PROTECTED]
CODE SNIPPET:
<?
session_start();
echo '
<html>
<head>
</head>
<body>
some text here
</body>
</html>
';
?>
The output will be the following:
<html>
<head>
</head>
<body>
some text here
</body>
</
It truncates the last </html> tag! When I reload the page, it displays correctly. When
I open a new browser (so a new session id must be created), the problem is the same.
When I close the session with session_destroy before the output, then it works fine.
CONFIGURE LINE:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system'
'--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug'
'--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2'
'--enable-ctype' '--with-db2' '--with-ndbm' '--enable-exif' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--with-mm' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--with-pcre-regex=/usr' '--enable-shmop'
'--enable-sockets' '--enable-wddx' '--enable-yp' '--with-zlib' '--without-pgsql'
'--disable-static' '--with-layout=GNU' '--with-gd=shared,/usr'
'--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-mhash=shared,/usr'
'--with-mysql=shared,/usr'
ADDITIONAL SYSTEM DESCRIPTION:
APACHE 1.3.20
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12299&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]