Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Simon Newsgroups: comp.lang.php Subject: Re: magic_quotes_gpc() on or off? Date: Wed, 11 May 2011 16:15:36 +0200 Lines: 12 Message-ID: <92vk07FsloU1@mid.individual.net> References: <92us45F6n8U1@mid.individual.net> <92vblcFsnvU2@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net dsnro48LsGy3iFZMbbTm9g0bcXMVhUHBF2muriKqFI1IAFtJIu Cancel-Lock: sha1:wbwjyQxYGbb6xRlitxzPy2ZEAMQ= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:1522 > > Well, yes, of course, that's what the "_gpc" suffix stands for: > > «Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When > magic_quotes are on, all ' (single-quote), " (double quote), \ > (backslash) and NUL's are escaped with a backslash automatically.» LOL, I never even thought of that. It all makes sense now, thanks. Simon