i am creating a simple authentication, acl script. i wonder if its ok to store a PDO database handle in a global variable?
whats the bad effects of using a global variable? anyone can edit from anywhere?
if i create a singleton like in zend framework Zend_Registry how will it make things any better?