Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "Peter H. Coffin" Newsgroups: comp.lang.php Subject: Re: Magic quotes? Should I still be cautious? Date: Thu, 29 Dec 2011 17:53:09 -0600 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="le/2G4+BNpieVhQI6uJ2Lw"; logging-data="27820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bzcX5x+DzYBZ8r+lJZx87" User-Agent: slrn/0.9.9p1 (OpenBSD) Cancel-Lock: sha1:mIf2k6E+Jx2MY+K5wCRhA2MEUts= Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:4185 On Thu, 29 Dec 2011 15:55:10 -0500, Michael Joel wrote: > I do not have control of my server (shared server). > > echo get_magic_quotes_gpc(); returns True. > Should I still be cautious and use addslashes/stripslashes in case the > hosting company ever decides to change the settings? Yup! Just because it's on now doesn't mean it always will be. Never depend on any setting that you don't control if you can avoid so depending. -- Windows gives you a nice view of clouds so you can't see any potentially useful boot time messages. -- Bill Hay in the Monastery