Mailinglisten-Archive |
Nachtrag:
Gibt es für die 'string' Abfrage dann Besseres?
if(${"HTTP_".$REQUEST_METHOD."_VARS"}) {
print "<pre style=background-color:#f0f0f0>";
foreach(${"HTTP_".$REQUEST_METHOD."_VARS"} as $key => $val) {
$key = ucfirst ($key);
$val = trim(strip_tags($val));
$type = gettype($val);
if ($type == 'string') {
$n = strlen($val);
$cStr = "(".$n.")";
}
echo "$key <font color=red><b>=></b></font> $val $cStr\n";
}
print "</pre>";
}
Christoph
php::bar PHP Wiki - Listenarchive