Subversion Repositories public

Rev

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 29
Line 57... Line 57...
57
	   return true;
57
	   return true;
58
 
58
 
59
	return false;
59
	return false;
60
}
60
}
61
 
61
 
-
 
62
function GetBrowserInfo($key) {
-
 
63
	$browser = get_browser();
-
 
64
 
-
 
65
        while (list ($schl, $value) = each ($browser)) {
-
 
66
	   if ($schl == $key)
-
 
67
	      return $value;
-
 
68
	}
-
 
69
 
-
 
70
	return "";
-
 
71
}
-
 
72
 
62
function DEBUG($str) {
73
function DEBUG($str) {
63
	$fp = fopen("/tmp/debug.txt", "a");
74
	$fp = fopen("/tmp/debug.txt", "a");
64
	$tm = date("j.n.Y H:i:s", time());
75
	$tm = date("j.n.Y H:i:s", time());
65
	fwrite($fp, "$tm: $str\n");
76
	fwrite($fp, "$tm: $str\n");
66
	fclose($fp);
77
	fclose($fp);