Sorry about the newbie question. I have a config.php file which contains a
string which I would like a function to access. How do i make it global so
that it can do so.
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I have seen people using
include (config.php);
in the begining of the page for that purpose.
--- Aaron Moore [EMAIL PROTECTED] wrote:
Sorry about the newbie question. I have a config.php file
which contains a
string which I would like a function to access. How do i
make it global so
that
http://www.php.net/manual/en/language.variables.scope.php
On Tue, 4 Sep 2001, Aaron Moore wrote:
Sorry about the newbie question. I have a config.php file which contains a
string which I would like a function to access. How do i make it global so
that it can do so.
Thanks for your help
3 matches
Mail list logo