The require function isn't recommeded for this.....the require function is ideal for when you have a page with functions that you wish to store in php's memory and then call on at a later time.
If you merely want to include a file in a script you can use the include funstion:
<?php
include("filename.php3);
?>
and then all that the file contains will be included right where you specified it.
cheers,
Scott d~