A

Admin • 825.56K Points
Coach

Q. What will the function header('Location: example.com'); do?

  • (A) Redirect to example.com
  • (B) Include example.com content
  • (C) Throw an error
  • (D) Do nothing
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
header() sends a raw HTTP header; Location header redirects the browser.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.