You can include like that, but the result is not what you were expecting. If you include a PHP file from another server, your PHP file will include only the output of the other PHP file. Therefore, you can't use variables or functions that are inside the other PHP file. The only way to do what you want, is if the other PHP file generates the code for that, i.e.
test.php:
<?
print "<? $info = 43; ?>";
?>
In that test.php, it prints a PHP statement that sets $info to a value.
Diego