Okay, if I understand your prob correctly:
Put the variable definitions in a file - call it vars.inc
<?php
$trucks = 26;
$bikes = 12;
$usebydate = "2002-06-30";
?>
index.php AND config.php both have:
include("vars.inc");
.. at the top ..
in index.php, form elements will oook like this:
<input type="text" name="trucks" value="<?php echo $trucks; ?>">
index.php TARGETS store.php, which takes the variables and re-writes vars.inc
Simple.
OR, you could get store.php to parse the entire config.php and use regexs to alter the values 🙂 But how yuck is that!