$_POST value disappearing?
| From: | Donovan Brooke | Date: | Tue, 02 Aug 2011 15:04:07 +0000 |
| Subject: | $_POST value disappearing? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-314276@lists.php.net to get a copy of this message | ||
Hello!,
I must not be understanding something as I would expect 'f_file'
to show up in the print_r below.:
---form--
<form action="index.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="f_ap" value="upload" />
<input type="hidden" name="f_action" value="doit" />
<input type="file" name="f_file" />
<input type="submit" value="Upload" />
</form>
---endform--
--index.php--
<?php print_r($_POST); ?>
--/index.php--
The result I get is:
------------
Array
(
[f_ap] => upload
[f_action] => doit
)
-----------
Can someone enlighten me?
Thanks,
Donovan
--
D Brooke