Exam Code : 200-710
Exam Name : Zend Certified Engineer
Vendor Name :
"Zend"
200-710 Dumps
200-710 Braindumps
200-710 Real Questions
200-710 Practice Test
200-710 Actual Questions
killexams.com
Zend Certified Engineer
https://killexams.com/pass4sure/exam-detail/200-710
Which PHP function retrieves a list of HTTP headers that have been sent as part ofthe HTTP response or are ready to be sent?
header()
headers()
headers_Iist()
headers_sent()
getresponseheaders()
Which options do you have in PHP to set the expiry date of a session?
Set the session.duration directive in php.ini
Set session cookie expiry date locally via session_set_cookie_params()
Set session expiry date locally via session_cache_expire()
None of the above
The following form is loaded in a browser and submitted, with the checkbox activated:
<form method="post">
<input type="checkbox" name="accept" />
</form>
In the server-side PHP code to deal with the form data, what is the value of
$_POST['accept'] ?
accept
ok
true
on
When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?
the $_FILES super-global
the input stream php://input
the $_POST super-global
the global variable scope
Please provide the name of the super-global variable where all the information about cookies is available.
_COOKIE, $_COOKIE[\], _COOKIE, _COOKIE[\]
The following form is loaded in a recent browser and submitted, with the second select option selected:
<form method="post">
<seIect name="Iist">
<option>one</option>
<option>two</option>
<option>three</option>
</seIect>
</form>
In the server-side PHP code to deal with the form data, what is the value of $_POST['|ist'] ?
1
2
two
null
Which ofthe following is NOT a requirement for file uploads to work?
The PHP directive fiIe_upIoads must be set to On
The form's method attribute must be set to "post"
The form must include a hidden input element with the name set to "IV|AX_FILE_SIZE"
The form's enctype attribute must be set to "muItipart/form-data"
An HTML form contains this form element:
<input type="image" name="myImage" src="image.png" />
The user clicks on the image to submit the form. How can you now access the relative coordinates of the mouse click?
$_FILES['my|mage']['x'] and $_F|LES['my|mage']['y']
$_POST['myImage']['x'] and $_POST['my|mage']['y']
$_POST['my|mage.x'] and $_POST['my|mage.y']
$_POST['myImage_x'] and $_POST['my|mage_y']
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?
setrawcookie, setrawcookie()
Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
setcookie, setcookie()