Re: Packages accessing super globals
| From: | Martin Jansen | Date: | Wed, 18 May 2005 21:33:25 +0000 |
| Subject: | Re: Packages accessing super globals | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37734@lists.php.net to get a copy of this message | ||
On Wed May 18, 2005 at 08:4618PM +0100, Ian P. Christian wrote:
> I recently sparked off a conversation on irc://efnet/#pear about packages
> accessing _POST/_GET/_SESSION directly.
>
> I think that PEAR should provide a central system to abstract these calls, so
> all packages would do something like
>
> PEAR::getGet('action');
> PEAR::getPost('username');
Why?
- Martin