Folks, I'm working on quite a large website with a lot of php pages.. And a lot of includable functions (modules).. Sometimes one of those modules gets included twice accidently and then it generates an error .. of course.. This made me wonder of there's any way to prevent the function from being defined again.. I've looked on the 'get_included_files' and used it to check if the file was already included.. For one, this had to search through the entire array and second it does not seem to return full file paths to the file, but only the filename itself.. Not really what I want either, since there may be various files with the same filename in various dirs..
Or what I sometimes want to do is overrule a function .. the manual just told me PHP does not support this, is that really true? And then for my last question at this moment... things like "print" and "require" are considered langauge construct and therefore don't need the parentheses .. Can I make stuff like that myself too, so I can make something like a function which does not use parentheses ?? Thanks, Wouter ____________________________________________________________________________ _____ esctoday.com | your daily eurovision centre Wouter van Vliet, Staff assistant, member technical staff E-mail: [EMAIL PROTECTED] Websites: www.esctoday.com, webzee.mine.nu MSN Messenger passport: [EMAIL PROTECTED] Phone +31-(0)6-1539 7471 Based in The Hague, The Netherlands