tecknek post was correct I am just going to add to it, this is probably common knowlage but I will post anyhow.
all declared vars will be accessable to the included document if the file was not opened via url-wrapper. ie.
include('index.egn');
will work.
include('http://mediawaveonline.com/index.php');
will not have access to the declared vars.
Chris Lee
lee@mediawaveonline.com