News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

X
September 15, 2011 @ 11:01:04

If you're relatively new to the PHP world, you may be wondering why there has been so much emphasis put on "magic quotes" in the language's past. If you're not entirely sure what they are (and why to avoid them) take a look at this quick overview from XpertDeveloper.com.

First of let me say that Magic Quotes is deprected from the PHP 5.3 and will be removed completely from the PHP 6. But as a developer you might face a situation when you have to work on application which runs on older version of PHP with some older functionality like rely on Magic Quotes.

They introduce the simple concept behind the magic quotes idea and, thankfully, the settings and code you can use to turn it off. It's been deprecated in PHP 5.3 but some older versions came with it enabled. If you're currently running with it on, it's highly recommended to turn it off and refactor your code accordingly.

0 comments voice your opinion now!
magicquotes disable intorduction addslashes phpini


blog comments powered by Disqus

Similar Posts

Tony Bibbs' Blog: What Zend Might Not Want You To Know

Pierre-Alain Joye's Blog: Howto use a single php.ini for cli/cgi with htscanner, use 0.7.0 or later

Ivo Jansch's Blog: Donít use addslashes for database escapes

Paul Reinheimer's Blog: When does a user abort?

Adrian Schneider' Blog: Testing Zend_Mail


Community Events





Don't see your event here?
Let us know!


podcast library introduction version release series install composer interview framework update laravel opinion security package tool symfony community voicesoftheelephpant language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework