Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84590 invoked by uid 1010); 13 Apr 2007 13:47:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84574 invoked from network); 13 Apr 2007 13:47:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2007 13:47:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.246 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.132.246 an-out-0708.google.com Received: from [209.85.132.246] ([209.85.132.246:22529] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/BE-43231-CD98F164 for ; Fri, 13 Apr 2007 09:47:17 -0400 Received: by an-out-0708.google.com with SMTP id c28so1061932ana for ; Fri, 13 Apr 2007 06:46:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VybdQw/iA4xwxygg1VQYWVl6GFfOxYhuTpD67IFFLOAMySGanjwCZ7/NwfpJSl/Z11AaCDYXFpFNM0d7ycGNFfSIA3JtHQ/NfIYiDkV+l/G77IzuRgRGbJcmqilYD9J/YDvyY7IePFAijWcvML3KFE8EgGC+03h/fi+TvpUNICI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P9QYpi2sCEmFRnpGZ3NYFhDDfwLqvlssvM3aF5qvX4M6ccfdEp3wmmKyGpi0QN8aBuz2N5cblNG79UMrUznS6a275N3SnzcaPFyn4tqnz+oPqQnW7gUf5saWnoLXqvh6Ya63lDLZTNOj7t70ncWNV4dTPXASZGbtgAq8UePr/B4= Received: by 10.100.47.6 with SMTP id u6mr2497764anu.1176472016343; Fri, 13 Apr 2007 06:46:56 -0700 (PDT) Received: by 10.100.91.8 with HTTP; Fri, 13 Apr 2007 06:46:56 -0700 (PDT) Message-ID: Date: Fri, 13 Apr 2007 14:46:56 +0100 To: "Andrew Hutchings" Cc: internals@lists.php.net In-Reply-To: <36.F7.47553.4513F164@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704112329.l3BNTVnK000581@post.webmailer.de> <200704121638.01772.lists@block-online.eu> <36.F7.47553.4513F164@pb1.pair.com> Subject: Re: [PHP-DEV] Re: php feature From: tijnema@gmail.com ("Tijnema !") On 4/13/07, Andrew Hutchings wrote: > Tijnema ! wrote: > > On 4/12/07, Oliver Block wrote: > >> Am Donnerstag, 12. April 2007 06:34 schrieb Andrew Hutchings: > >> > Isn't that what a database is for (e.g. MySQL)? > >> > >> No. - It's that what a symbol table is for.:-) > >> > >> Best Regards, > >> > >> Oliver > > > > You simply could create a table with 2 columns 'key' and 'value', and > > so you could easily store both :) > > > > I can see where Oliver is coming from, it would be a lot quicker to do > it that way. But I can imagine there would be problems making something > like that work with all the different types of Apache workers, etc... > without some kind of separate daemon handling it. > > Regards > Andrew I think that will screw up some things, for example when using 2 the same scripts, on the same apache, but on different locations. In current ways, the programmer would create a database, and use a separate table for both scripts. But if these "application variables" are there, the programmer would use those, but then script 1 & 2 would both share the same variables, and so that would give a lot of trouble. 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. Tijnema > -- > Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/ > Windows is the path to the darkside...Windows leads to Blue Screen. Blue > Screen leads to downtime. Downtime leads to suffering...I sense much > Windows in you. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >