Thanks Miz, but the problem isn't that it doesn't have a value, because it does at the top of global.php even when you do it my way as you quoted above. It's supposed to be a variable from the URL string, not a constant from within the script, and by the bottom of global.php the value is gone no matter how you set it..
And I don't want to just print it out in a template inside vb somewhere, I need it for db queries and to set cookies and stuff within my own header.php, and it's blank by the time it gets there.
|