$HTTP_POST array
| From: | kalinga | Date: | Thu, 23 Dec 2004 08:46:08 +0000 |
| Subject: | $HTTP_POST array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205045@lists.php.net to get a copy of this message | ||
Dear all,
Is it possible to pass the entire $HTTP_POST array to a function of a class
as a variable?
without doing ...
$new_classAccount = new classAccount;
$msg =
$new_classAccount->addAccount($HTTP_POST_VARS['accountName'],$HTTP_POST_VARS['firstName'],$HTTP_POST_VARS['lastName']);
is it possible to..
$new_classAccount = new classAccount;
$msg = $new_classAccount->addAccount($HTTP_POST);
i googled a lot on this but did not find any good code sample.
hope somebody can gide me on this.
--
vk.