On Wed, 2003-11-05 at 16:21, R'twick Niceorgaw wrote: > are the variables in config.inc GLOBAL? > if not, you will have to include config.inc inside every function > or define them as global $cfg etc inside each function . > If you are using a newer version of PHP then try to make use of $GLOBALS > array > in config.inc, declare the variables as > > $GLOBALS["cfg"]["sitevars"]["variable_name"]=...... That sounds familiar, how would I reference them? would it be as $cfg['sitevars']['variable_name'], or $GLOBALS["cfg"]["sitevars"]["variable_name"]?
Cheers, Matt -- +----------------------------------+ |Matthew Macdonald-Wallace | |The Truth Will Set you Free | |http://www.truthisfreedom.org.uk/ | +----------------------------------+ BOFH Excuse #233: TCP/IP UDP alarm threshold is set too low. ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
