$HTTP_POST array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux