Mailinglisten-Archive |
Hi Till,
> Hat jmd. eine Idee wie ich pauschal durch alle HTTP_POST_VARS loopen
> koennte und alle Inhalte ausgebe ohne die einzelnen Namen der
> Felder/Variablen zu kennen? Ich versuche eine standardisierte
> Formularverarbeitung fuer x (Anzahl) Projekte zu bauen. Ich bin zur
> Zeit leider auf dem Holzweg, diesbezueglich.
also wenn ich jetzt nicht total auf dem Holzweg bin, dann ist
HTTP_POST_VARS doch ein ganz normales assoziatives Array.
Warum dann nicht so:
reset ($HTTP_POST_VARS);
while (list ($key, $value) = each ($HTTP_POST_VARS)) {
print 'Schlüssel: ' . $key . ', Wert: ' . $value . '<br>';
}
Ciao
Alex
php::bar PHP Wiki - Listenarchive