3 ms·
I think you just described PHP's old magic quotes feature, which automatically escaped all user input to, among other things, block SQL injection. It's universa
by dangrossman 15y ago
I think you just described PHP's old magic quotes feature, which automatically escaped all user input to, among other things, block SQL injection. It's universally reviled as one of PHP's worst design decisions and is no longer part of the default feature set.
- jquery 15y agoBecause it escaped input too early (and did not fully escape), not because auto escaping sql is a bad idea.