Can I pass the $GLOBALS array into the function so I get access to all of the variables passed to the script?
Thanks
| SitePoint Sponsor |





Can I pass the $GLOBALS array into the function so I get access to all of the variables passed to the script?
Thanks
- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy



well, an educated guess:
I'd say if you pass $GLOBALS into a function, by
global $GLOBALS
then you would have access to all the variables $GLOBALS stores VIA $GLOBALS array, not just by the variable names...
By the way, i heard you're from waterloo, me too (well not now), give me a shout when you get bored, icq 28857142
--------------------
SitePoint Community Advisor
my PHP host: when you want a REAL host
Bookmarks