If you are accessing the page as
index.php?my_variable=my_value
you should still be able to access $my_variable inside the included files with out any problem.
Just reference the variable as usual in your header.php, footer.php, etc. and they should still see it.
Greg
phpwebhosting.com