PHP: Ok to store database handle in global variable?
<p>i am creating a simple authentication, acl script. i wonder if its ok to store a PDO database handle in a global variable? </p>

<p>whats the bad effects of using a global variable? anyone can edit from anywhere? </p>

<p>if i create a singleton like in zend framework <code>Zend_Registry</code> how will it make things any better?</p>
