i don't think you can use a query string on an included file. anyway why would you need to?
instead of:
include ('/path/to/file.php?var=whatever');
just do:
$var = 'whatever';
include ('/path/to/file.php');
the included file will inheirit the variable scope.