...you have some things wrong "next page"
<?php include('test.inc'); ><html><head>....<body><p><?php echo $test1 $test2 $test3; ?></p></body>
also, if the include is in another folder, say http://site.com/files/other, and new page is in http://site.com/files you need to have the include be include('other/test.inc');