Perhaps an incomplete $_POST
| From: | Jay Blanchard | Date: | Wed, 29 Aug 2007 19:01:11 +0000 |
| Subject: | Perhaps an incomplete $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-261484@lists.php.net to get a copy of this message | ||
I just noticed something a little odd, and maybe there is a simple
solution. Given a form;
<form name="foo" action="foo.php" method="POST">
The attributes, especially the name "foo", never appear in any variables
array. I am thinking that this might be handy to have for several
reasons when processing the form. I have several reasons for needing the
information, does anyone know how to get this in the processing script
without having to add hidden fields or do some Ajax magic?