Upgrading PHP: Replacing Magic Quotes with Proper Input Sanitization

If you have ever inherited an old PHP codebase, you have probably met magic_quotes_gpc. It was PHP’s attempt to keep you