Page 1 of 1

Need o "turn on" global variable capability?

Posted: Sat Mar 14, 2009 7:42 pm
by katkat
I have an array defined as a global variable. I have defined it at the very beginning of the main program and first thing in all the functions that use this array. However, the array does not keep it's data after leaving the function that builds it. In doing more research, I ran across this:

"When we submit a form or pass variables by query sting or read from Cookies the variables will be available by default if the register_globals is set ON in php.ini file."

Do I need to have something set on my system in order to use the global function?

Re: Need o "turn on" global variable capability?

Posted: Sun Mar 15, 2009 8:15 am
by panic!
Post your code so we can help further understand your problem