Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54073 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59302 invoked from network); 19 Jul 2011 10:23:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2011 10:23:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.186 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.186 c2beaomr08.btconnect.com Received: from [213.123.26.186] ([213.123.26.186:17090] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/90-53425-E0B552E4 for ; Tue, 19 Jul 2011 06:23:11 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2beaomr08.btconnect.com with ESMTP id DQB19428; Tue, 19 Jul 2011 11:20:51 +0100 (BST) Message-ID: <4E255A82.3030200@lsces.co.uk> Date: Tue, 19 Jul 2011 11:20:50 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-2.2 SeaMonkey/2.0.14 MIME-Version: 1.0 To: PHP internals References: <20110718143939.GB23368@panix.com> <4E24B7AA.20309@gmail.com> <4E24BD03.9040108@thelounge.net> <4E2529DD.4050104@thelounge.net> <4E253E98.9070405@thelounge.net> <4E254325.40701@lsces.co.uk> <4E2546F8.1050707@thelounge.net> In-Reply-To: <4E2546F8.1050707@thelounge.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0301.4E255A83.0017, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.7.19.100015:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __CP_URI_IN_BODY, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr08.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0209.4E255B0B.0222:SCFSTAT14830815,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] [RFC] Magic Quotes in PHP, the Finalle From: lester@lsces.co.uk (Lester Caine) Reindl Harald wrote: >>> magic_quotes_gpc is deprecated as of 5.3 >>> >> http://php.net/manual/en/migration53.deprecated.php >>> >> only the default values was left to 1 >>> >> >>> >> how dumb is this? >>> >> >>> >> if i deprecate something i do not like to use it in >>> >> future and at the same time i enable it as default? >>> >> >>> >> there is no logical reason >> > >> > Actually it is perfectly logical when one looks at 'BC'. >> > It may not have been the correct choice in hindsight, but it was implemented >> > at a time when PHP6 was on the road map, and that is no longer the case. > does not matter > > anybody who maintains a server should make a explicit config > and not relying on random defaults Fine if you actually have ACCESS to the ini file !!!! If you are on a service where access is not available, and the settings change breaking your site ... The point I was trying to make is that simply switching something off that running and currently functional code expects to be on - because that is how they are provided with the service currently - is what needs managing. Hopefully we are not going back to the days when things were simply broken without warning, such as happened when PHP5.1 was pushed out ... It is more about managing the change than simply removing magic quotes? The history of that proposed change is relevant since it highlights why some perhaps now incorrect choices were made, but simply reverting a choice needs to be documented properly. Perhaps what I am looking for is some notes somewhere to direct people to WHEN their sites stop working as they have been for many years? Yes I know it's not the developers problem, but just as the change from PHP4, there is a LOT of legacy code that someone will need to change, and where people have made that change, their input would be helpful to others? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php