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

Asked: Apr 15, 2023

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.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!