#25214 [Opn->Fbk]: import_request_variables "empty"
| From: | sniper@php.net | Date: | Sat, 23 Aug 2003 00:05:23 +0000 |
| Subject: | #25214 [Opn->Fbk]: import_request_variables "empty" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46509@lists.php.net to get a copy of this message | ||
ID: 25214
Updated by: sniper@php.net
Reported By: spin9 at terra dot com dot br
-Status: Open
+Status: Feedback
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
Operating System: win98/xp
PHP Version: 4.3.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-08-22 17:50:20] spin9 at terra dot com dot br
nomeField = nameField at the source code, I made a mistake only here
not in the source code. Thanks.
------------------------------------------------------------------------
[2003-08-22 17:45:44] spin9 at terra dot com dot br
Description:
------------
I'm trying to use the function import_request_variables exactly as the
manual example and my variable returns empty.
Reproduce code:
---------------
import_request_variables("P", "frm_");
echo $frm_nameField;
Expected result:
----------------
the value of nameField of the form.
:
<input type="text" name="nomeField" maxlength="50"
size="35">
the method of the form is post
<form method=post action="some.php?tab=pes">
Actual result:
--------------
blank. The echo does not output anything, only when I use:
echo $_POST["nomeField"];
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25214&edit=1