OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Magic Quotes

From: Tomek Perlak (tomekperlaktlen.pl)
Date: Tue Oct 10 2006 - 05:19:50 CDT


DokFLeed wrote:
> (..)
>
> if there is noway around Magic Quotes, then why is every developer
> against it ?
> Dok
>
I guess it's because it adds a layer of complexity to your code?

Some servers have MQs on, some don't (and you might not have any control
over that), so you have to code for two cases.

Also, if data sanitation is being done using other functions (such as
mysql_real_escape_string if you happen to use mysql), the MQs feature is
a nuisance to deal with, to say the least.

// tp;

-------------------------------------------------------------------------
Sponsored by: Watchfire

Watchfire has new programs available for pen testers and consultants to
use AppScan in client engagements. AppScan is the leading Web application
assessment tool. Want to see it for yourself? Take a look today!

https://www.watchfire.com/securearea/appscancamp.aspx?id=701500000008YSz
--------------------------------------------------------------------------