|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-09-25 14:58 UTC] cliff at may dot be
Description:
------------
I assume it is deliberate that, in PHP-5b1, register_globals = 1 no longer brings in $_POST() and $_GET() variables but the documentation and php.ini-dist still imply that it is an option.
Reproduce code:
---------------
echo "<PRE>\n";
echo 'register_globals = ', ini_get('register_globals'), "\n";
echo "test = $test\n";
echo "\$POST('test') = ", $_POST('test'), "\n";
Expected result:
----------------
register_globals = 1
test = ok
$POST('test') = ok
Actual result:
--------------
register_globals = 1
test =
$POST('test') = ok
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 09:00:02 2025 UTC |
Ergh... $_POST('test') should read $_POST['test'] throughout.