Wednesday, April 29, 2009

PHP- Remove Special Character during website

// put this code on the top of the page or in your config file. You will never see the special character on that page/website(if you used config on the top then it work on whole website)


header("Content-type: text/html; charset=UTF-8");
ini_set('mbstring.internal_encoding', 'UTF-8');

No comments:

security header validate

  HTTP Security Headers Check Tool - Security Headers Response (serpworx.com)