What is the use of header() function in PHP?

0

The header() function is used to send a raw HTTP header to a client. It must be called before sending the actual output. For example, you can not print any HTML element before using this function.

Php
asked Apr 15, 2023 at 00:47
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.