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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to