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

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

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Mad@Coding 1 week, 4 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1272

    Divya
    Participant

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

    #1273

    Mad@Coding
    Moderator

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Pasham Technology © 2018 Pasham Technologies