A script residing at http://example.com/phpcert/cookies.php contains the following code:
2 setcookie(‘name1’, ‘value1’, time() + 60*60*24, ‘/’);
3 setcookie(‘name1’, ‘value2’);
The web browser is configured to accept all cookies. How many cookies will be set by this script?
When working with the MVC paradigma, the business logic should be implemented in which of the
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?
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?
1 ^ 2
What will be the result of the following operation?
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the
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? (Choose 2)
What is the name of the key in $_FILES[‘name’] that contains the number of bytes of the uploaded