Presumably you've just entered page.php as your URL in the browser.
You are getting the error because a get variable called var does not exist.
Try "page.php?var=xyz" as your URL and the error should go.
Check it exists first
if ($HTTP_GET_VARS['var'])
$var = $HTTP_GET_VARS['var'];
to avoid the error or turn off E_NOTICES in error level setting
hth