RE: [PHP] Detecting an image form submission via PHP
| From: | Matt Williams | Date: | Fri, 21 Sep 2001 13:29:14 +0000 |
| Subject: | RE: [PHP] Detecting an image form submission via PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68147@lists.php.net to get a copy of this message | ||
> When a form is submitted using a standard SUBMIT button it is possible
> to catch this via php using if ($submit) but how do you catch this if
> you are using an image for submitting instead of the button?
>
> Any help would be greatly appreciated.
>
values of image_x and image_y will be set if you use a button.
Also be aware that if someone submits the form via keyboard none of these
maybe set.
You could use a hidden field containing the formname and look for that
HTH
M@