Anonymous | Login | Signup for a new account | 12-17-2024 11:03 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001571 | [Quercus] | major | always | 01-17-07 14:13 | 02-20-07 12:36 | ||||
Reporter | dberry | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.1 | Product Version | 3.1.0 | ||||
Product Build | |||||||||
Summary | 0001571: $_POST ARRAY NOT GETTING FILLED | ||||||||
Description |
On a post, the paramaters are only available via $_REQUEST. $_POST remains empty. Here is a test file: <html> <head> </head> <body> <form action="displayParameters.php" name="frmPost" method="POST"> <fieldset> <legend class="legend">Post Test</legend> <input type="text" name="txt1" length="10" value="text box 1"> <input type="text" name="txt2" length="10" value="text box 2"> <input type="text" name="txt3" length="10" value="text box 3"> <input type="text" name="txt4" length="10" value="text box 4"> <input type="submit" name="subSubmit" value="Post" /> </fieldset> </form> <form action="displayParameters.php" name="frmGet" method="get"> <fieldset> <legend class="legend">Get Test</legend> <input type="text" name="txt5" length="10" value="text box 5"> <input type="text" name="txt6" length="10" value="text box 6"> <input type="text" name="txt7" length="10" value="text box 7"> <input type="text" name="txt8" length="10" value="text box 8"> <input type="submit" name="subSubmit" value="Get" /> </fieldset> </form> </body> </html> |
||||||||
Steps To Reproduce | |||||||||
Additional Information |
Here is the "displayParameters.php" called by the above test file: <?php // This is a test to find out if the $_POST and $_GET are being set correctly function printParam($value, $key) { echo("$key=$value "); } ?> <html> <head> </head> <body> <h1> REQUEST PARAMETERS</h1> <?php array_walk($_REQUEST, 'printParam'); ?> <h1> POST PARAMETERS</h1> <?php array_walk($_POST, 'printParam'); ?> <h1> GET PARAMETERS</h1> <?php array_walk($_GET, 'printParam'); ?> </body> </html> |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed. 28 unique queries executed. |