#37488 [Opn->Bgs]: import_request_variables doesnt work with pre-changed _REQUEST vars.
| From: | iliaa@php.net | Date: | Mon, 05 Jun 2006 16:02:40 +0000 |
| Subject: | #37488 [Opn->Bgs]: import_request_variables doesnt work with pre-changed _REQUEST vars. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98049@lists.php.net to get a copy of this message | ||
ID: 37488
Updated by: iliaa@php.net
Reported By: serkan at kibritoglu dot net
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: winXP
PHP Version: 5.1.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Only the actual values supplied via GPC can be imported.
Previous Comments:
------------------------------------------------------------------------
[2006-05-18 07:01:11] serkan at kibritoglu dot net
Description:
------------
Very simple logic. Here you go;
Reproduce code:
---------------
if($_GET['param']=='') $_GET['param'] = "I am changed
forever.";
echo "Should print: " . $_GET['param'] . "<br>\n";
import_request_variables("g", "g_");
echo "And... !: " . $g_param . "<br>\n";
Expected result:
----------------
Should print: I am changed forever.
And... !: I am changed forever.
Actual result:
--------------
Should print: I am changed forever.
And... !:
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37488&edit=1