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
 [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 12:01:32 2024 UTC