Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1571 | major | always | 01-17-07 14:13 | 02-20-07 12:36 | |
|
|||||
Reporter: | dberry | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
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> |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|