πŸ“Š PHP
Q. What does header('Location: url') do in PHP?
  • (A) Redirects the browser
  • (B) Prints a URL
  • (C) Creates a link
  • (D) Opens a file
πŸ’¬ Discuss
βœ… Correct Answer: (A) Redirects the browser

Explanation: header('Location: url') sends a raw HTTP header to redirect the user.

Explanation by: Mr. Dubey
header('Location: url') sends a raw HTTP header to redirect the user.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate