Functions and include files question?

From: Date: Thu, 10 Apr 2003 05:06:02 +0000
Subject: Functions and include files question?
Groups: php.windows 
Request: Send a blank email to php-windows+get-19380@lists.php.net to get a copy of this message
I have a file with 20 or so error messages in it which gets included at the top of a script. How can I work this so the variables inside the included file are available to the various functions in the script. Right now I am just re-including it in every function - it works, but there has to be a better way to do this. Is there a way I can make the whole file global? TIA.

« previous php.windows (#19380) next »