From: Ilia Alshanetsky Date: Sun, 26 Nov 2006 16:45:29 +0000 (+0000) Subject: MFH: Added a meta tag to phpinfo() output to prevent search engines from X-Git-Tag: php-4.4.5RC1~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=118849bf3e637444ed19d3b944ab6e59dc853832;p=php MFH: Added a meta tag to phpinfo() output to prevent search engines from indexing the page. --- diff --git a/NEWS b/NEWS index 470e3c66e8..f6191ab387 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2006, Version 4.4.5 +- Added a meta tag to phpinfo() output to prevent search engines from + indexing the page. (Ilia) - Updated PCRE to version 6.7. (Ilia) - Fixed missing open_basedir check inside chdir() function. (Ilia) - Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony) diff --git a/ext/standard/info.c b/ext/standard/info.c index 6aa803abeb..f2605f98f2 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -374,6 +374,7 @@ PHPAPI void php_print_info_htmlhead(TSRMLS_D) PUTS("\n"); php_info_print_style(); PUTS("phpinfo()"); + PUTS(""); /* php_printf("\n", charset); */