Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35655 invoked by uid 1010); 13 Apr 2007 21:35:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 35637 invoked from network); 13 Apr 2007 21:35:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2007 21:35:36 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:4119] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/55-15016-3A7FF164 for ; Fri, 13 Apr 2007 17:35:33 -0400 Received: (qmail 91826 invoked by uid 98); 13 Apr 2007 21:35:32 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3089. Clear:RC:1(127.0.0.1):. Processed in 0.077684 secs); 13 Apr 2007 21:35:32 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 13 Apr 2007 21:35:32 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Fri, 13 Apr 2007 16:35:32 -0500 (CDT) Message-ID: <40201.216.230.84.67.1176500132.squirrel@www.l-i-e.com> In-Reply-To: References: <200704112329.l3BNTVnK000581@post.webmailer.de> <200704121638.01772.lists@block-online.eu> <36.F7.47553.4513F164@pb1.pair.com> Date: Fri, 13 Apr 2007 16:35:32 -0500 (CDT) To: "Andrew Hutchings" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Re: php feature From: ceo@l-i-e.com ("Richard Lynch") 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?