Packages accessing super globals

From: Date: Wed, 18 May 2005 19:46:18 +0000
Subject: Packages accessing super globals
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37729@lists.php.net to get a copy of this message
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'); etc. etc. It should be possible for people to somehow override this system too, so rather then using the built in PEAR getPost and getGet functions, a custom class/set of functions could be registered. The same should happen for _SESSIONs. Your thoughts? -- Ian P. Christian ~ http://pookey.co.uk

Attachment: [application/pgp-signature]
« previous php.pear.dev (#37729) next »