nerdexam
Zend

200-710 · Question #220

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

The correct answer is A. setrawcookie, setrawcookie(). See the full explanation below for the reasoning.

State Management

Question

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

Options

  • Asetrawcookie, setrawcookie()
  • Bsetcookie, setcookie()
  • Csetrawcookie()
  • Dsetcookie()

How the community answered

(35 responses)
  • A
    83% (29)
  • B
    9% (3)
  • C
    3% (1)
  • D
    6% (2)

Topics

#setrawcookie#URL encoding#cookies#PHP functions

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice