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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pontus at feting dot fetfett dot nu
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 15:01:28 2024 UTC