> normally people put all > their session check/start-up stuff in a seperate file and then include > that > when needed: > > <? > > require "db_connect.inc"; > require "session.inc"; Of course, you would want to make sure any of your included PHP files have the .php (or equivilant) extension, thus preventing your server from serving their full contents to people who would request them directly (as the server won't know to parse them as PHP scripts). -- Matt Ferris matt@xxxxxxxxxx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php