Re: Re: streams file uri under windows

From: Date: Wed, 27 Oct 2004 18:44:54 +0000
Subject: Re: Re: streams file uri under windows
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-13576@lists.php.net to get a copy of this message
On 2004/10/28, at 3:28, Rob Richards wrote:
From: Moriyoshi Koizumi
Couldn't file://127.0.0.1/... or file://[::1]/... be valid URL's for the local resources?
To play it safe I would say no right now. The file uri stuff is being worked on again: http://www.ietf.org/internet-drafts/draft-hoffman-file-uri-01.txt It looks like it is safe to use the following (just implementing empty host and "localhost" in the streams case for now) as a guideline as other possible host definitions are being discussed but they all at least include the following: where <host> is the fully qualified domain name of the system on which the <path> is accessible, and <path> is a hierarchical directory path of the form <directory>/<directory>/.../<name>. As a special case, <host> can be the string "localhost" or the empty string; this is interpreted as "the machine from which the URL is being interpreted".Rob
Convinced enough. I've never been told that "localhost" is such a magic spell :) Thanks for the clarification. Moriyoshi

« previous php.internals (#13576) next »