php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #20522 german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING
Submitted: 2002-11-20 12:02 UTC Modified: 2003-01-25 13:12 UTC
From: pubtom at bigfoot dot com Assigned: k.schroeder (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pubtom at bigfoot dot com
New email:
PHP Version: OS:

 

 [2002-11-20 12:02 UTC] pubtom at bigfoot dot com
I think there is a mistake in the german translation
http://www.php.net/manual/de/language.variables.predefined.php
and in the file
language.variables.predefined.html
in the german offline/downloadable version (03-11-2002)

"$HTTP_ENCODING
Inhalt des Accept-Encoding:-Headers der aktuellen Anforderung (wenn es einen gibt). Beispiel: 'gzip'."

I think it should say:
$HTTP_ACCEPT_ENCODING instead of $HTTP_ENCODING

---

On my Apache/1.3.26 with PHP/4.2.2
$HTTP_ENCODING is undefined, i.e. isset($HTTP_ENCODING)==false
whereas
$HTTP_ACCEPT_ENCODING contains the Accept-Encoding Header, e.g. for Mozilla: "gzip, deflate, compress;q=0.9"

---

The German version
http://www.php.net/manual/de/language.variables.predefined.php
seems to be quite old (or even outdated?) and is very different from the English version and all other translations (which have the warning concerning register_globals etc.)
http://www.php.net/manual/en/language.variables.predefined.php 

---

I think there is quite a similar error in the spanish translation, which also is older and different from the English version:
http://www.php.net/manual/es/language.variables.predefined.php

"HTTP_ENCODING
Los contenidos de la cabecera Accept-Encoding: de la petici?n actual, si la hay. Por ejemplo: 'gzip'."

I think that there, too, it should say
HTTP_ACCEPT_ENCODING instead of HTTP_ENCODING

---

Kind regards from Switzerland
Thomas Luethi

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-25 13:12 UTC] hholzgra@php.net
fixed in CVS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 08:01:33 2025 UTC