Re: DB: does it check magic_quotes_gpc and automatically accomodate either ON or OFF?

From: Date: Thu, 01 Sep 2005 19:32:50 +0000
Subject: Re: DB: does it check magic_quotes_gpc and automatically accomodate either ON or OFF?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20730@lists.php.net to get a copy of this message
--- Greg Beaver <cellog@php.net> wrote: > Justin Patrin wrote: > > > Why would DB deal with magic_quotes? DB is a > database package, not a > > form package. The only package (AFAIK) which > handles magic_quotes in > > PEAR is HTML_QuickForm and only if you use its > data exporting > > fyi, PEAR itself handles magic_quotes inside > PEAR_Registry, because it > uses fopen() and registries were being corrupted on > read because of it. > > Greg > > -- So, you are saying that magic_quotes_gpc() is evaluated and strings are addslashes() or escaped as needed? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.general (#20730) next »