Re: accessing a global in a function???

From: Date: Wed, 05 Sep 2001 03:18:53 +0000
Subject: Re: accessing a global in a function???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65982@lists.php.net to get a copy of this message
I have seen people using include ("config.php"); in the begining of the page for that purpose. --- Aaron Moore <vi2@vi2.com> 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== Mehmet Erisen http://www.erisen.com __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com

« previous php.general (#65982) next »