title: Preventing JavaScript Injections in a PHP Web Application
body: <p>What are the measures needed to prevent or to stop JavaScript injections from happening in a PHP Web application so that sensitive information is not given out (best-practices in PHP, HTML/XHTML and JavaScript)?</p>