sesser Thu Aug 18 16:49:18 2005 EDT
Modified files: /phpdoc/en/faq misc.xml Log: Adding _FILES to be 100%ly sure for PHP >= 4.3.0 http://cvs.php.net/diff.php/phpdoc/en/faq/misc.xml?r1=1.25&r2=1.26&ty=u Index: phpdoc/en/faq/misc.xml diff -u phpdoc/en/faq/misc.xml:1.25 phpdoc/en/faq/misc.xml:1.26 --- phpdoc/en/faq/misc.xml:1.25 Sun Aug 14 17:58:52 2005 +++ phpdoc/en/faq/misc.xml Thu Aug 18 16:49:16 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> +<!-- $Revision: 1.26 $ --> <chapter id="faq.misc"> <title>Miscellaneous Questions</title> <titleabbrev>Miscellaneous Questions</titleabbrev> @@ -159,7 +159,7 @@ } // Might want to change this perhaps to a nicer error - if (isset($_REQUEST['GLOBALS'])) { + if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) { die('GLOBALS overwrite attempt detected'); }