Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
setcookie,
setcookie()
Thank you for your visit.
To try more exams, please visit below link
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the
browser?
setrawcookie,
setrawcookie()
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?
D
Which of the following is NOT a requirement for file uploads to work?
C
The following form is loaded in a recent browser and submitted, with the second select option
selected:
<form method="post">
<select name="list">
<option>one</option>
<option>two</option>
<option>three</option>
</select>
</form>
In the server-side PHP code to deal with the form data, what is the value of $_POST['list'] ?
C
Please provide the name of the super-global variable where all the information about cookies is
available.
$_COOKIE,
$_COOKIE[\],
_COOKIE, _COOKIE[\]
When uploading a file to a PHP script using the HTTP PUT method, where would the file data be
found?
B
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'] ?
D
Which options do you have in PHP to set the expiry date of a session?
D
Which PHP function retrieves a list of HTTP headers that have been sent as part of the HTTP response
or are ready to be sent?
C