Zend PHP 5.3 Certification 200-530 Question # 15 Topic 2 Discussion

Zend PHP 5.3 Certification 200-530 Question # 15 Topic 2 Discussion

200-530 Exam Topic 2 Question 15 Discussion:
Question #: 15
Topic #: 2

A script residing at http://example.com/phpcert/cookies.php contains the following code:

1 <?php

2 setcookie('name1', 'value1', time() + 60*60*24, '/');

3 setcookie('name1', 'value2');

4 ?>

The web browser is configured to accept all cookies. How many cookies will be set by this script?


A.

0


B.

1


C.

2


D.

3


Get Premium 200-530 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.