[PHP] include files and global variables

2002-07-21 Thread Jon Wyatt
I have some pages which include a number of files. In one of the include files I have a function which I wish to be executed everytime the include file is loaded. Therefore I place the function name in the include file at the top. However, this function uses a session variable to decide

Re: [PHP] include files and global variables

2002-07-21 Thread Michael Hall
I think that you need to call the checkMaster() function AFTER you declare it, not before. Try moving checkMaster(); beneath the function definition. Mick On Sun, 21 Jul 2002, Jon Wyatt wrote: I have some pages which include a number of files. In one of the include files I have a