You have several issues at once. I really have no idea what you're trying to do.
But what's wrong with saying:
$GLOBALS['AppColor1'] = '#012C95';
.
.
.
print '<body link="'. $GLOBALS['AppColor1'] . '">';
or even:
$AppColor1 = '#012C95';
.
.
.
print '<body link="'. $AppColor1 . '">';
register_globals has only to do with whether values from HTML inputs (POST- and GET-method form submissions, cookies, etc.) will be instantiated as individual variables in the global variable scope.
As an example, if you have a form:
<form method="post" action=foo.php">
<input type=text name=foo>
<input type=submit>
</form>
When that form is submitted to foo.php, if register_globals is set to "off", you will have the value of the form element "foo" available to you only in $_POST['foo']. With register_globals set to "on", it will be available both in $_POST['foo'] and in $foo at the global scope.
The global variable scope being the one you're in when your script starts, before your program flow enters any user-defined functions or classes. There exist superglobal arrays, of which $GLOBALS is one, which are available everywhere, including inside functions and classes.
(It is recommended that you leave register_globals set of "off" and reference these variables via their superglobal array indeces because:[ul][li]this can prevent variable "poisoning" by spurious inputs[/li][li]superglobal arrays are available everywhere[/li][li]the superglobal arrays sort of self-document your code[/li][/ul]
In terms of regular variable use, the only time use of $GLOBALS becomes necessary is when you are using functions or classes. The variables you instantiate in the main scope are not available in functions or classes unless you pull them into the function or class through the use of the "global" operator. But $GLOBALS is available everywhere.
One gotcha: $GLOBALS contains everything that exists at the global scope, including itself -- some versions of PHP will get into an infinite loop when you perform print_r ($GLOBALS).
Want the best answers? Ask the best questions: TANSTAAFL!