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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 10:01:30 2024 UTC