Encoding, escaping, and sanitizing in PHP & Javascript

Remember to practice safe hex.