Re: *Premature end of script headers

From: Date: Wed, 18 Dec 2002 23:53:32 +0000
Subject: Re: *Premature end of script headers
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-128789@lists.php.net to get a copy of this message
Guys? The support guy says that my php-script brings his php interpreter to crash. I am astonished (wow-what a powerful man I am :) ) - no, but really, it doesn't crash MY server? He also said, it happens just right after the file is being asked for, that is, as I suspect, somewhere in the first lines of my php code. I run 4.2.0, he runs 4.0.5 . Both Safe-mode "on", both, as I suspect, on Windows, mySQL as well. What could in these first lines of the code, which follows, bring his machine to death? Please, someone - it's so urgent, really... <?php session_start(); $parseOkay = false; $varsOkay = false; $cookOkay = false; $coo = time()."-".session_id(); $hersteller = array ("....."); $herstellerNr = array (2,1,4,3,5,6); $frage5 = array("......"); $frage5bedeutung = array("...."); $frage1warn = false; $php_q1 = "0"; $frage2warn = false; $php_q2 = "0"; $frage3warn = false; $frage4warn = false; $frage5warn = false; $frage5_count = 0; $php_q6 = "0"; $php_q7 = "0"; $php_q8 = ""; $php_q9 = ""; ob_start(); if(isset($HTTP_COOKIE_VARS["foo"])) { $coo = $HTTP_COOKIE_VARS["foo"]; $cookOkay = true; } if(isset($HTTP_GET_VARS["parse"])){ require("uservars.php"); // BROWSER, IP, DATE; require("resetvars.php"); $parseOkay = true; } ob_end_flush(); ?> thanks. Almost dead, but happy, that the thing works at least on ONE machine, Alex

« previous php.general (#128789) next »