Alternative to header_remove

Posted by Castor on Stack Overflow See other posts from Stack Overflow or by Castor
Published on 2010-04-18T18:44:09Z Indexed on 2010/04/19 2:23 UTC
Read the original article Hit count: 432

Filed under:
|

I know that header_remove doesn't work in php versions < 5.3 and I use 5.2.1. I am looking for an alternative to header_remove to remove the X-Powered-By header.

I tried using header("X-Powered-By: "); but it still generates a blank header. I tried using Header unset X-Powered-By in .htaccess, but for some reason it's not working. I am stuck here.

© Stack Overflow or respective owner

Related posts about php

Related posts about header