php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47417 There is no footer function
Submitted: 2009-02-17 07:27 UTC Modified: 2009-02-17 15:44 UTC
From: henke at henke37 dot cjb dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 6CVS-2009-02-17 (CVS) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: henke at henke37 dot cjb dot net
New email:
PHP Version: OS:

 

 [2009-02-17 07:27 UTC] henke at henke37 dot cjb dot net
Description:
------------
There is no footer function to go with the header function. The http 1.1 rfc introduced reply footers, there should be a way to set those.

Reproduce code:
---------------
<?php
$contents=ob_get_flush();
echo $contents
footer('MD5:'.md5($contents));


Expected result:
----------------
The footer should be sent.

Actual result:
--------------
The function does not exist.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-17 15:44 UTC] johannes@php.net
The footer is part of the chunked-encoding. The chunking is done (if at all) by the web server - we have no control over that. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 26 01:00:03 2025 UTC