|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 15:00:02 2025 UTC |
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'); ?>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>