var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Classes & Server Variables
I am trying to set the values of server variables from methods inside my PHP class modules. The server variables seem to go out of scope when the class file method that set the variables is exited.
Is there a way to set server variables from within class module methods?
Thanks in advance.
As you dind't post the code how you set the variables the following should work with PHP >= 4.1.0
also look at the putenv-function
$_SERVER[<name>] = 'foo';