odin:
simple, do the following:
the external page should look something like this:
PHP Code:
<? echo "<?"; ?>
$var = "eek";
$foo = "bar";
$somemore = 1;
<? echo "?>"; ?>
Lets pretend that page would be
http://www.fuckyoutoo.com/some.php
you would simply do:
include("http://www.fuckyoutoo.com/some.php"); in your main file that needs the vars.
You can of course also not use those strange echos and print the <? ?> directly in the file, but you have to make sure that the server that file is on will not parse it for php since it'll of course be empty for the include() then.