Try: ca/tecreations/ViewFile.php
<?php
function toHex($i = "") {
if ($i >= 0 && $i <= 9) return $i;
if ($i == 10) return "A";
if ($i == 11) return "B";
if ($i == 12) return "C";
if ($i == 13) return "D";
if ($i == 14) return "E";
if ($i == 15) return "F";
}
function toUnicode($str = "") {
return mb_chr($str);
}
$z = $_REQUEST['z'];
if ($z == '') $z = "0";
$a = $_REQUEST['a'];
if ($a == '') $a = "0";
$b = $_REQUEST['b'];
if ($b == '') $b = "0";
function getPrevious($target) {
if ($target == "F") return "E";
if ($target == "E") return "D";
if ($target == "D") return "C";
if ($target == "C") return "B";
if ($target == "B") return "A";
if ($target == "A") return "9";
if ($target == "9") return "8";
if ($target == "8") return "7";
if ($target == "7") return "6";
if ($target == "6") return "5";
if ($target == "5") return "4";
if ($target == "4") return "3";
if ($target == "3") return "2";
if ($target == "2") return "1";
if ($target == "1") return "0";
if ($target == "0") return "F";
}
function getNext($target) {
if ($target == "0") return "1";
if ($target == "1") return "2";
if ($target == "2") return "3";
if ($target == "3") return "4";
if ($target == "4") return "5";
if ($target == "5") return "6";
if ($target == "6") return "7";
if ($target == "7") return "8";
if ($target == "8") return "9";
if ($target == "9") return "A";
if ($target == "A") return "B";
if ($target == "B") return "C";
if ($target == "C") return "D";
if ($target == "D") return "E";
if ($target == "E") return "F";
if ($target == "F") return "0";
}
function decrement($z = "0", $a = "0", $b = "0") {
$b = getPrevious($b);
if ($b == "F") {
$a = getPrevious($a);
if ($a == "F") {
$z = getPrevious($z);
}
}
return "z=$z&a=$a&b=$b";
}
function increment($z = "0", $a = "0", $b = "0") {
$b = getNext($b);
if ($b == "0") {
$a = getNext($a);
if ($a == "0") {
$z = getNext($z);
}
}
return "z=$z&a=$a&b=$b";
}
?>
<?php
$prev = "/ca/tecreations/UnicodeTest2.php?" . decrement($z, $a, $b);
$next = "/ca/tecreations/UnicodeTest2.php?" . increment($z, $a, $b);
?>
<a href="<?php echo $prev; ?>">Previous</a> -- <a href="<?php echo $next; ?>">Next</a><br />
<code>
<?php
$line = "";
for($c = 0; $c < 16; $c++) {
for($d = 0; $d < 16; $d++) {
$line .= mb_chr( ($z * 256 * 256) + ($a * 256 * 16) + ($b * 256) + ($c * 16) + $d) . " ";
}
$line .= "<br />\n";
}
echo $line . "<br />\n";
?>
</code>