Why anything I try in PHP causes so much frustration for me? One day I'll write long article why PHP is broken by design and should not be used by any programmer with clue. For now just a link on one of its "features": magic-quotes-gpc. Bonus point for explaining why this feature is bad idea.