HTTP functions

  • header() – It sends a raw HTTP header to a client.
  • headers_list() – It returns a list of response headers sent
  • headers_sent() – It checks whether headers have been sent .
  • setcookie() – It sends an HTTP cookie to a client
  • setrawcookie() – It sends an HTTP cookie without URL encoding the cookie value