Commit 4302d84f by sn

php4 gedoens

1 parent 2cbd6db8
Showing with 24 additions and 1 deletions
......@@ -207,13 +207,18 @@ class D {
// self::new_echo("<b>show(".$param_string.")</b>", $param_print, $param_force);
if(is_array($param_val)) {
$string_show = "<br /><b>show(".$param_string.")</b> array<br />";
} else {
$string_show = "<br /><b>show(".$param_string.")</b> $param_val<br />";
}
if($param_loglevel>1) {
if(is_object($param_val) && get_class($param_val)=='DOMElement') {
D::showdomelement($param_val, $string_show.$param_string,$param_print, $param_force);
} else {
if(is_array($param_val)) {
$string_show .= "count(".$param_val.") = ".count($param_val)."";
$string_show .= "count(param_val) = ".count($param_val)."";
$result =$param_val;
// self::new_echo("<br/>count(".$param_val.") = ".count($param_val)."", $param_print, $param_force);
} else if(is_object($param_val)) {
......
<?php
function session_is_registered($x)
{
if (isset($_SESSION['$x']))
return true;
else
return false;
}
function session_register($var, $value) {
if (!isset($_SESSION[$var])) {
// $_SESSION[$var] = $$var;
$_SESSION[$var] = $value;
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!