I usually just set the values of the variables before calling the include file like this:
<?php
$var1 = 1;
$var2 = 2;
include('file.php');
?>
then inside of file.php I can just reference $var1 and $var2. At the top of file.php I do a little self check to make sure that all of my variables are set like this.
<?php
$needed_vars = array('var1','var2');
foreach($needed_vars as $cur_var) {
if(!isset($$cur_var)) {die("Please set \$$cur_var before calling file.php");
} //end foreach
?>