I'd say that anyone who needs a tutorial to tell them how to do this in PHP probably doesn't have the skills to fix the security hole. You're setting people up to fail, which isn't very nice (although I'm sure you didn't intend it that way).
Seriously, it's worth making it a tiny bit less readable to makie it copy/paste safe!
Seriously, it's worth making it a tiny bit less readable to makie it copy/paste safe!