I have a problem with using globals within class scope.
For example:
$GLOBALS['test'] = "How are you?";
class great
{
[INDENT]function grace() {
[INDENT]
echo $test;
echo $GLOBALS['test'];
[/INDENT]}
[/INDENT]}
Problem is, that neither of the echos produce any output. Is there a problem with accessing superglobals from within classes? I've tried this with two separate classes and they both have the same result. Not too sure if there is a need to adjust the RegisterGlobals setting. Is there a way I can get by without changing this setting?