How many cookies will be set by this script?
A script residing at http://example.com/phpcert/cookies.php contains the following code:
<code>
1 <?php
2 setcookie(‘name1’, ‘value1’, time() + 60*60*24, ‘/’);
3 setcookie(‘name1’, ‘value2’);
4 ?>
</code>
The web browser is configured to accept all cookies. How many cookies will be set by this script?
which of the following components?
When working with the MVC paradigma, the business logic should be implemented in which of the
following components?
Which function do you apply to the text, when displaying it?
You want to allow your users to submit HTML code in a form, which will then be displayed as real
code and not affect your site layout. Which function do you apply to the text, when displaying it?
(Choose 2)
Which options do you have in PHP to set the expiry date of a session?
Which options do you have in PHP to set the expiry date of a session?
What is the result of the following bitwise operation in PHP?
What is the result of the following bitwise operation in PHP?
1 ^ 2
What will be the result of the following operation?
What will be the result of the following operation?
<code>
array_combine(array(“A”,”B”,”C”), array(1,2,3));
</code>
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the
browser?
What would you do?
You’d like to use the class MyDBConnection that’s defined in the
MyGreatFrarnework\GreafDatabaseAbstractionLayer namespace, but you want to minimize *as
much as possible* the length of the class name you have to type. What would you do?
Which of the following rules must every correct XML document adhere to?
Which of the following rules must every correct XML document adhere to? (Choose 2)
What is the name of the key in $_FILES[‘name’] that contains the number of bytes of the uploaded f
What is the name of the key in $_FILES[‘name’] that contains the number of bytes of the uploaded
file?