accessing $HTTP_POST_VARS in user-defined function
| From: | Rob Day | Date: | Tue, 06 Aug 2002 20:48:54 +0000 |
| Subject: | accessing $HTTP_POST_VARS in user-defined function | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21019@lists.php.net to get a copy of this message | ||
I'm trying to use $HTTP_POST_VARS from within a user-defined function.
Currently I'm just passing the array to the function like so:
MyFunction($HTTP_POST_VARS);
function MyFunction($VARS)
{
blah, blah, blah....
}
This doesn't seem like the best way to me. I imagine that this could slow
things down - especially when I'm passing that array to several functions.
Is there a way to access them directly from the function without passing the
array? Something else maybe? Thanks.
-Rob <rday@tsl.state.tx.us>