php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38360 Website appear in Germany not English
Submitted: 2006-08-06 17:11 UTC Modified: 2006-08-06 17:58 UTC
From: radwana6 at hotmail dot com Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: win xp sp2
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: radwana6 at hotmail dot com
New email:
PHP Version: OS:

 

 [2006-08-06 17:11 UTC] radwana6 at hotmail dot com
Description:
------------
Hi,
I'm from Singapore ,
When I go to your site http://php.net/file  it redirects me to http://sg.php.net/file )
and the problem is that I see the function description in Germany ( I don't have the same problem when I use a USA proxy ) even when I change the URL to http://us2.php.net/file I see the description in Germany 
I used may PCs and many browsers and the problem still ,
It has been like that for many months but I cannot take it any more 

Expected result:
----------------
file
(PHP 3, PHP 4, PHP 5)

file -- Reads entire file into an array
Description
array file ( string filename [, int use_include_path [, resource context]] )


Identical to file_get_contents(), except that file() returns the file in an array. Each element of the array corresponds to a line in the file, with the newline still attached. Upon failure, file() returns FALSE. 

You can use the optional use_include_path parameter and set it to "1", if you want to search for the file in the include_path, too. 



Actual result:
--------------
file
(PHP 3, PHP 4, PHP 5)

file --  Liest eine Datei komplett in ein Array 
Beschreibung
array file ( string filename [, int use_include_path] )


Die Funktion file() ist identisch mit readfile(), au?er dass die eingelesene Datei als Array zur?ckgegeben wird. Jedes Feld des Arrays korrespondiert mit einer Zeile der Datei. Der Zeilenumbruch bleibt erhalten. Im Fehlerfall gibt file() FALSE zur?ck. 

Anmerkung: Jede Zeile in dem resultierenden Array enth?lt das Zeilenende, weshalb Sie trim() verwenden m?ssen, falls der Zeilenumbruch nicht vorhanden sein soll. 

Anmerkung: Wenn Sie Probleme damit haben, dass PHP Zeilenendezeichen nicht erkennt, entweder beim Lesen von Dateien auf einem Macintosh oder bei Dateien die auf einem Macintosh erstellt wurden, k?nnen Sie die Option auto_detect_line_endings aktivieren.

Optional kann der Parameter use_include_path benutzt und auf '1' gesetzt werden, wenn in dem include_path ebenfalls nach der Datei gesucht werden soll. 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-06 17:58 UTC] derick@php.net
Go to http://php.net/my.php and set your prefered language.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC