Hi Kalinga,

    it is not recomended to use $HTTP_POST_VAR array. Use $_POST and 
it have global scope. In PHP5, we have a special directive by which we
can disable $HTTP_*_VAR. currently it defaults to enabled. But who
says in future versions of PHP it default set to disabled. then your
code will not run. So Use $_POST, $_GET etc. instead of using old long
$HTTP_*_* style.


zareef ahmed 


On Mon, 27 Dec 2004 18:31:21 +0300, Burhan Khalid <[EMAIL PROTECTED]> wrote:
> kalinga wrote:
> > Dear all,
> > Is it possible to pass the entire $HTTP_POST array to a function of a class
> > as a variable?
> 
> Use $_POST -- its automatically in scope of every function (you don't
> need to pass it).
> 
> You can pass any array to a function.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net

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

Reply via email to