|
Posted by Julien Biezemans on 06/26/07 09:22
gosha bine wrote:
>
> Well, I don't think 'fopen' arguments are urls or urns although
> sometimes it may seem so. Just take it as php own format that only
> accidentally matches some kinds of url.
>
> On widnows, ':' is used to denote a drive, e.g.
> fopen("C:\\WINDOWS\\blah") is perfectly valid.
>
>
That makes sense, thank you for this thought. Anyway it's a pity because
libraries like DOM make us of the PHP streams system to interpret what
are strict URIs (think about Xinclude "include" elements that have
"href" attributes accepting anyURI values).
In other words, when PHP DOM extension (or libxml if you prefer)
executes an include element, its href attribute value is strictly an URI
that may be under any scheme!
In conclusion, concerning my own application it will be an assumption
that fopen() treats its path argument as URIs and I'll keep using the
workaround I described earlier.
Regards,
Julien.
Navigation:
[Reply to this message]
|