nerdexam
Zend

200-530 · Question #3660

How can you redirect a client to another page using PHP?

The correct answer is A. header('Location: /another_page.php'). See the full explanation below for the reasoning.

Question

How can you redirect a client to another page using PHP?

Options

  • Aheader('Location: /another_page.php');
  • Bheader('Content-Location: /another_page.php');
  • Cheader('Redirect: /another_page.php');
  • Dheader('Redirect: /another_page.php', 1, 302);
  • Eheader('HTTP/1.1 302 /another_page.php');

How the community answered

(48 responses)
  • A
    73% (35)
  • B
    4% (2)
  • C
    2% (1)
  • D
    6% (3)
  • E
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice