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

1 Answer

0 votes
by

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't print any HTML element before using this function.

...