From 9b1769675a69557224ff00dab95dd6bdb3bda8f6 Mon Sep 17 00:00:00 2001 From: short <> Date: Thu, 27 Oct 2005 07:49:35 +0000 Subject: [PATCH] +Implemented: error_reporting(E_ALL); Handle correctly missing: $HTTP_GET_VARS["base"] Fixed PHP5 (PHP4?) compatibility of parameters passed by reference. --- project/Nokia61/Nokia61.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/project/Nokia61/Nokia61.php b/project/Nokia61/Nokia61.php index ef694fd..79a3db3 100644 --- a/project/Nokia61/Nokia61.php +++ b/project/Nokia61/Nokia61.php @@ -1,5 +1,7 @@ @@ -18,7 +20,9 @@ function table($array,$rw=0) { global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS; - print "
\n"; + print "
\n"; print "
"; if ($rw) print "Input:"; @@ -79,7 +83,7 @@ global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS; $idx=0; $output=array(); while (!feof($cmd)) { - if (3!=fscanf($cmd,"\n %d%d%d",&$output[$idx+0],&$output[$idx+1],&$output[$idx+2])) + if (3!=fscanf($cmd,"\n %d%d%d",$output[$idx+0],$output[$idx+1],$output[$idx+2])) continue; $idx+=3; if ($idx<9) @@ -98,7 +102,7 @@ global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS; } table($input,1); - if (!$HTTP_GET_VARS["nohtml"]) { + if (!isset($HTTP_GET_VARS["nohtml"])) { ?>