Hiding PHP's X-Powered-By header
问题 I know in PHP, it sends the X-Powered-By header to have the PHP version. I also know by appending some checksums, you can get access to PHP's credits, and some random images (more info here). I also know in php.ini you can turn expose_php = off . But here is something I have done on a few sites, and that is use header('X-Powered-By: Alex'); When I view the headers, I can see that it is now 'Alex' instead of the PHP version. My question is, will this send the previous PHP header first (before