[TYPO3-core] RFC: Mailform doesn't work with image submit buttons #1374
Karsten Dambekalns
karsten at typo3.org
Sun Apr 30 22:42:45 CEST 2006
Hi.
On Sunday 30 April 2006 12:12, rupert germann wrote:
> assume that mybutton_y exists, too. Also making a double check for
> isset($_POST['data']) && is_array($_POST['data']) makes no sense in my eyes
> because if the var is already an array it *is* set ;-)
<assumption>
Yes, but in PHP5 trying to access $_POST['data'] trying to check whether it is
an array produces a fatal error if it isn't set. The whole story about using
ridiculous amounts of isset() calls is revolving around that problem...
</assumption>
I agree with the point about only having to check one axis of the submitted
data...
Karsten
--
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060430/fb4cb7e1/attachment.pgp
More information about the TYPO3-team-core
mailing list