The only thing about adding the globals before you include is obviously you need to know what is in the script before you include it (breaking encapsulation). Unless reintroducing everything into global scope is OK, in which case, there's no problem. This post is from -- http://socoder.net/index.php?topic=2758