Hi Richard, > Why not just set a $basedir value somewhere and always use that in an > include/require function: include "$basedir/sub/whatever" - then no > matter where it's called from it'll never be wrong.
That makes sense... Is it also recommended that an application local config file be used to set all the globals that will be used throughout? Right now I'm using the db to hold all the vars that I want to make available for all apps. Is this something that shouldn't be done this way? Is there a performance factor that I should be aware of? The tests I have done so far show an improvement in the performance from what I am upgrading from, but.... (that's another story):-] alex ****************************************************************** The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. The views stated herein do not necessarily represent the view of the company. If you are not the intended recipient of this e-mail you may not copy, forward, disclose, or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender. ******************************************************************