git://git.jankratochvil.net
/
www.jankratochvil.net.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ported to PHP-5: $HTTP_GET_VARS -> $_GET
[www.jankratochvil.net.git]
/
project
/
Nokia61
/
Nokia61.php
diff --git
a/project/Nokia61/Nokia61.php
b/project/Nokia61/Nokia61.php
index
937631e
..
cf413da
100644
(file)
--- a/
project/Nokia61/Nokia61.php
+++ b/
project/Nokia61/Nokia61.php
@@
-1,7
+1,7
@@
<?php
error_reporting(E_ALL);
<?php
error_reporting(E_ALL);
- if (!isset($
HTTP_GET_VARS
["nohtml"])) {
+ if (!isset($
_GET
["nohtml"])) {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
@@
-18,10
+18,10
@@
$bgcolor_body="#F0F0F0";
function table($array,$rw=0)
{
function table($array,$rw=0)
{
-global $tables,$bgcolor_head,$bgcolor_body,$
HTTP_GET_VARS
;
+global $tables,$bgcolor_head,$bgcolor_body,$
_GET
;
print "<FORM METHOD=GET ACTION=\""
print "<FORM METHOD=GET ACTION=\""
- .(!isset($
HTTP_GET_VARS["base"]) ? "./" : $HTTP_GET_VARS
["base"])
+ .(!isset($
_GET["base"]) ? "./" : $_GET
["base"])
."Nokia61.php\"><TABLE BORDER=1 RULES=NONE>\n";
print "<TR><TD COLSPAN=3 BGCOLOR=\"".$bgcolor_head."\">";
if ($rw)
."Nokia61.php\"><TABLE BORDER=1 RULES=NONE>\n";
print "<TR><TD COLSPAN=3 BGCOLOR=\"".$bgcolor_head."\">";
if ($rw)
@@
-54,7
+54,7
@@
global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS;
$tables=0;
for ($idx=0;$idx<9;$idx++) {
$tables=0;
for ($idx=0;$idx<9;$idx++) {
- $s=$
HTTP_GET_VARS
[sprintf("%d",$idx)];
+ $s=$
_GET
[sprintf("%d",$idx)];
if (!strlen($s))
continue;
$x=ord($s)-ord("0");
if (!strlen($s))
continue;
$x=ord($s)-ord("0");
@@
-107,7
+107,7
@@
global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS;
}
table($input,1);
}
table($input,1);
- if (!isset($
HTTP_GET_VARS
["nohtml"])) {
+ if (!isset($
_GET
["nohtml"])) {
?>
</BODY></HTML>
<?php
?>
</BODY></HTML>
<?php