php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7581 crash?
Submitted: 2000-11-01 22:15 UTC Modified: 2000-11-02 06:52 UTC
From: pontus at feting dot fetfett dot nu Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0.3pl1 OS: linux 2.2.15-4mdk
Private report: No CVE-ID: None
 [2000-11-01 22:15 UTC] pontus at feting dot fetfett dot nu
Whenever I call exit() or die() with php on roxen 2.1.143 it appears php crashes (I get the "document contained no data"-message from netscape). I configured php with --with-mysql --with-roxen=/usr/local/roxen/server/

examples are
<?php die(); ?>
<?php exit(); ?>
anywhere in the document, and in a function as well

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-02 06:29 UTC] waldschrott@php.net
If you don?t say sth, it?s calm.
If you don?t put sth out, document contains no data. :)

are you SURE that you?ve put sth out before?
simply try

<?php die('foobar'); ?>
 [2000-11-02 06:52 UTC] pontus at feting dot fetfett dot nu
Ok, this is the real test I did, but I thought it too long on the last post... :-)
As you can see I'm writing stuff before die(). I suppose that's what you mean by sth?

<html>
<head>
<?
    function testcrash()
    {
        print "<pre>Fork and pipe to stdout</pre>\n";
        die("sheeesh");
    }
?>
<body>
A little html-output....
<? testcrash() ?>
</body>
</html>
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 13:01:24 2020 UTC