On Fri, April 13, 2007 12:08 pm, Andrew Hutchings wrote: >> Especially because a lot people use shared hosting these days, and >> that means that they all run on the same apache. and so they would >> share the same "application variables". So if person a & b both >> install the same script on a different domain. They would work like >> 1 >> script, and that just goes wrong. > > Hmm...I could see this being a security risk as well, if one script is > breached then you could get the variables PHP wide. Or something to > that effect.
For all these reasons, and more, you're really better off just using the right weapon for YOUR needs than having something kinda sorta maybe that might work for you from the PHP Dev Team. Whether your needs dictate a DB, LDAP, MCache, MemCache, NFS files, SysV shared memory, custom daemon, or trained squirrels is up to you. This is why PHP doesn't have shared APP variables in the first place -- It's just a Bad Idea once you really think through all the implications. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php