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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php