I need to share some Global Variables across several HTML and PHP pages. I created a small HTML file that contains a series of hidden fields that contains several lines like this:

```html
<input type="hidden" name="pageColor" id="pageColor" value="#DCE6F1"> &nbsp; 
<input type="hidden" name="bgColor"   id="bgColor"   value="#004C00"> &nbsp; 
<input type="hidden" name="LamCost"   id="LamCost"   value="3"> &nbsp; 
```

The form has about 7 of these fields. For each page that needs this data, I have created an INCLUDE statement that adds the form with the hidden fields near the top of the page:

```html
<!---------[ Script required for includes put in <head>]------------------->
<script language="JavaScript">
  function processUser()
  {
    var parameters = location.search.substring(1).split("&");

    var temp = parameters[0].split("=");
    l = unescape(temp[1]);
    temp = parameters[1].split("=");
    p = unescape(temp[1]);
    document.getElementById("log").innerHTML = l;
    document.getElementById("pass").innerHTML = p;
  }
</script>
<!----------[ End of INLUDE script ]--------------->

<!-------[Near the topy of the <BODY> add this INCLUDE ]--------------->
<!--[ Import common VBLS ]---------------->
<div id="cData-placeholder"></div>

<script>
    $(function(){
      $("#cData-placeholder").load("includes/commonData.html");
    });
</script>
<!--[ end of Common VBLS ]--------------------------->
```

The problem I am having is NO success at using those variables in other parts of the page. I have tried javascript & PHP:

```js
var savLamCost = "<?php $_REQUEST['LamCost'] ?>";
var savLamCost = document.getElementById("LamCost").value;

...and in PHP:
$savLamCost = $_REQUEST["LamCost"];
$savLamCost = $_POST["LamCost"] ;
```

I would appreciate any suggestions of better ways to share global variables across several pages (the goal is to make future changes easy, by editing just one location to update all variables).

My thanks in advance!