3 ms·
Well this is just depressing (although it looks like these have been fixed by now in most of the frameworks mentioned,) as "just use a framework" has been my go
by krapp 13y ago
Well this is just depressing (although it looks like these have been fixed by now in most of the frameworks mentioned,) as "just use a framework" has been my go to response to people starting new PHP projects because I had assumed they had SQL injection taken care of.
This isn't a PHP specific problem of course but I do wonder if it is a sign that frameworks in general shouldn't come with their own ORMs. Although, having seen PHP running in the wild that doesn't even bother escaping strings into SQL, I have to think that at the very least using a framework makes things safer if not safe, and makes fixing this crap easier.