Re: Re: streams file uri under windows
| From: | Rob Richards | Date: | Wed, 27 Oct 2004 18:28:19 +0000 |
| Subject: | Re: Re: streams file uri under windows | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13575@lists.php.net to get a copy of this message | ||
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