PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
header(‘Location: /another_page.php’);

B.
header(‘Content-Location: /another_page.php’);

C.
header(‘Redirect: /another_page.php’);

D.
header(‘Redirect: /another_page.php’, 1, 302);

E.
header(‘HTTP/1.1 302 /another_page.php’);


Leave a Reply

Your email address will not be published. Required fields are marked *