Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 5 Question 43 Discussion

Posted by Jolanda on Feb 02, 2023 at 10:06 PM

An HTML form contains this form element:

The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?

Suggested Answer: D

Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
WI
Wilda 1 year ago
I thought it was $_POST['myImage.x'] and $_POST['myImage.y'] at first.
RO
Rosendo 1 year ago
I agree, $_POST is the way to go here!
PA
Paz 1 year ago
Wait, are we sure about that? Seems off to me.
DO
Dorthy 1 year ago
I think it's actually $_FILES, not $_POST.
CE
Cecily 1 year ago
It's definitely $_POST['myImage']['x'] and $_POST['myImage']['y']!
GU
Gussie 1 year ago
I’m leaning towards option A, but I’m confused about whether it should be 'x' and 'y' or 'myImage_x' and 'myImage_y'.
MA
Macy 1 year ago
I practiced a question like this, and I feel like it was about using underscores instead of dots in the array keys.
LA
Lacey 1 year ago
I remember something about using $_FILES for image uploads, but I can't recall if that applies here for the coordinates.
RO
Rose 1 year ago
I think the coordinates are accessed through the $_POST array, but I'm not sure if it's 'myImage' or something else.
JE
Jerilyn 1 year ago
I'm a bit unsure about this one. The policy seems straightforward, but I want to double-check my understanding before selecting an answer.
LI
Ligia 1 year ago
I practiced a similar question, and I believe enterprise objective setting was the right answer, but I'm second-guessing myself now.
RE
Rex 1 year ago
I think this might be related to "representational governance," but I'm not entirely sure how it applies in this context.
0/2000 characters

Save Cancel