1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-29 10:13:23 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
hakre eecf090806 Improve headers_list() example (#1007)
Two & 1/2 things with the PHP example code:

1. `X-` prefix header names June 2012 [1], [2].

2. PHP prepends the `default_charset` [3] on any `text/*` media type in
   Content-Type header, unless the `charset` is with the `header()` call,
   like in the example.

3. PHP version 5.1.3 (May 2006) -> 8.0.11, the X-Powered-By header [4]
   removed (only distracting w/ the example).

PHP version in use to generate the output: 8.0.11.

[1]: https://datatracker.ietf.org/doc/html/rfc6648
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
[3]: https://www.php.net/manual/en/ini.core.php#ini.default-charset
[4]: https://www.php.net/manual/en/ini.core.php#ini.expose-php

Co-authored-by: Tiffany <tiffany.k.taylor@gmail.com>
2021-10-12 14:00:01 +01:00
Sergey Panteleev f33c301789 Fix issues in Network directory
Part of #658
2021-06-10 12:30:36 +03:00
Jakub Vrana 3a29c12dc2 Link http_response_code and headers_list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314891 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-14 01:04:41 +00:00
Justin Martin 40aa012461 Removed byte order mark from language-snippets.ent (sorry for including it in this commit).
Moved Header SAPI comment to language snippet.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312832 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-03 01:22:07 +00:00
Justin Martin 78476e3106 Noted that header functions are only available when a supporting SAPI is in use.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312800 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-02 07:40:27 +00:00
Daniel Egeberg 96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Torben Wilson af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner 0dacad8c3d fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283827 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:18:07 +00:00
Felipe Pena b8c5feeea1 Add related functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249815 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-03 18:44:42 +00:00
Hannes Magnusson c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour 295e3a2ce8 ref.network: switch to new doc style
#: why are (old) debugging and accurate error handling facilities located here ?


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237333 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-10 01:57:09 +00:00
Mehdi Achour 6ceb56fff1 WS, prepare for new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237331 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-10 01:55:51 +00:00
Michael Wallner 0871421b19 - yehaa, pecl/http docs -- still lotta fill out though
# previous functions moved as discussed


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216966 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-24 11:01:55 +00:00