Latest 200-710 Practice Tests with Actual Questions

Get Complete pool of questions with Premium PDF and Test Engine

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


200-710


Zend Certified Engineer


https://killexams.com/pass4sure/exam-detail/200-710



Question: 223

Which PHP function retrieves a list of HTTP headers that have been sent as part ofthe HTTP response or are ready to be sent?


  1. header()

  2. headers()

  3. headers_Iist()

  4. headers_sent()

  5. getresponseheaders()




Answer: C



Question: 224

Which options do you have in PHP to set the expiry date of a session?


  1. Set the session.duration directive in php.ini

  2. Set session cookie expiry date locally via session_set_cookie_params()

  3. Set session expiry date locally via session_cache_expire()

  4. None of the above




Answer: D



Question: 225

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'] ?


  1. accept

  2. ok

  3. true

  4. on




Answer: D



Question: 226

When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?


  1. the $_FILES super-global

  2. the input stream php://input

  3. the $_POST super-global

  4. the global variable scope




Answer: B



Question: 227

Please provide the name of the super-global variable where all the information about cookies is available.




Answer:

_COOKIE, $_COOKIE[\], _COOKIE, _COOKIE[\]



Question: 228

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. 1

  2. 2

  3. two

  4. null




Answer: C



Question: 229

Which ofthe following is NOT a requirement for file uploads to work?


  1. The PHP directive fiIe_upIoads must be set to On

  2. The form's method attribute must be set to "post"

  3. The form must include a hidden input element with the name set to "IV|AX_FILE_SIZE"

  4. The form's enctype attribute must be set to "muItipart/form-data"




Answer: C



Question: 230

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?


  1. $_FILES['my|mage']['x'] and $_F|LES['my|mage']['y']

  2. $_POST['myImage']['x'] and $_POST['my|mage']['y']

  3. $_POST['my|mage.x'] and $_POST['my|mage.y']

  4. $_POST['myImage_x'] and $_POST['my|mage_y']




Answer: D



Question: 231

Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?




Answer:

setrawcookie, setrawcookie()



Question: 232

Which PHP function sets a cookie and URL encodes its value when sending it to the browser?




Answer:

setcookie, setcookie()