[UPHPU] Magic Quotes
ksnyder at coremr.com
Thu Aug 16 10:07:31 MDT 2007
Kirk Cerny wrote:
> I just noticed that someone else on the list was having an issue with
> magic quotes.
> What is everyones opinion of this setting?
> I hate it. I escape and check data from the browser myself and turn
> this setting off.
**Magic quotes is the devil.**
It doesn't do any good for non-mysql environments anyway. And I think
non-mysql and multi-sql environments are getting more common these days.
I find it good practice to check get_magic_quotes_gpc() and recursively
strip slashes if it is on. That way the app can assume they are always off.
- Ken Snyder
More information about the UPHPU