Re: #25661 [Opn]: register_globals gone (KMM6069123V44080L0KM)

From: Date: Wed, 01 Oct 2003 22:14:07 +0000
Subject: Re: #25661 [Opn]: register_globals gone (KMM6069123V44080L0KM)
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356488@lists.php.net to get a copy of this message
Hello- Thank you for contacting the SBC Internet Services Policy department. This is to acknowledge receipt of your complaint. All complaints received are investigated. However, individual responses to these complaints are not always possible due to the volume received. Please be assured we will investigate this issue and take appropriate action. On behalf of SBC Internet, we apologize for any inconvenience caused by our customer. Please do not hesitate to write again if you have any questions or if you wish to report other instances of abuse by SBC Internet customers. Thank you, The SBCIS Policy department Original Message Follows: ------------------------- ID: 25661 User updated by: cliff at may dot be Reported By: cliff at may dot be Status: Open Bug Type: Documentation problem Operating System: Apache2 PHP Version: 5.0.0b1 (beta1) New Comment: Ergh... $_POST('test') should read $_POST['test'] throughout. Previous Comments: ------------------------------------------------------------------------ [2003-09-25 14:58:59] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25661&edit=1

« previous php.doc (#969356488) next »