|
Posted by Justin French on 01/14/05 03:52
Hi,
Is it possible to define my own superglobal variable or array?
Rather than doing `global $cfg;` in all of my functions, I'd like to
just set $cfg as a superglobal in one place and forget about it.
Yes, I'm aware I could use $GLOBALS['cfg'], but I'd much prefer it
worked like $_GET etc.
---
Justin French, Indent.com.au
justin.french@indent.com.au
Web Application Development & Graphic Design
Navigation:
[Reply to this message]
|