PHP Classes

Header: Compose and send HTTP response headers

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 837 All time: 4,148 This week: 455Up
Version License PHP version Categories
header 1.0GNU Lesser Genera...5.1HTTP, PHP 5
Description 

Author

This class can be used to compose and send HTTP response headers.

It can add headers to the current HTTP request response for several purposes, such as redirecting the request to another URL, setting the content type or content disposition for downloads.

It can also set the response status and automatically determine the textual description by looking up a list of known response codes.

Once the list of headers is fully defined, the class issues the response header output commands.

Picture of Kai Dorschner
Name: Kai Dorschner is available for providing paid consulting. Contact Kai Dorschner .
Classes: 7 packages by
Country: Germany Germany
Age: 38
All time rank: 109471 in Germany Germany
Week rank: 192 Up13 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file Header.php5 Class Header modification class.
Plain text file example.php5 Example Example File

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:837
This week:0
All time:4,148
This week:455Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1706
 
Thank you for this very good class!
14 years ago (Juan Antonio)
70%StarStarStarStar