Hi Listenmirndt
Yes, of course you can do this - this is what PHP is all about. To send a variable to another page, you need to use POST or GET and then pick up the variable using:
<?php
echo $_POST["variable"];
?>
However, in your code you are using you have written require() first and then redefined the variable. The code in page2.php will run first before you reset the variable. What you want to do is $var = "something"; and then in page2.php do $var_new = $var;. BUT - you have to set $var first and then do require ("page2.php");, otherwise it won't work.
Does that answer your question?
Norm