<[EMAIL PROTECTED]> wrote:
> The ugliest part of this patch is that it requires special treatment for the
> plainfiles wrapper in order to deal with symlink stat calls. An alternative
> (and it wouldn't take much to convince me to go the other way) would be to
> add a parameter to the url_stat()
Hi,
On Monday 11 August 2003 20:37, Sara Golemon wrote:
> Nor can they return full stat detail. i.e.: What's the filesize of
> php://stdin ? Who "owns" http://example.com/foo.html ? Last I spoke to
> Wez on the subject he indicated that we should just attempt to return as
> much information as
The streams API has, since early in its introduction had the capacity to
perform stat() family calls on files under any wrapper.
In theory.
What's preventing wrapper->wops->url_stat from being useful is that the code
in ext/standard/filestat.c has never been routed through this layer.
I've put t
> <[EMAIL PROTECTED]> wrote:
>
>> The ugliest part of this patch is that it requires special treatment
>> for the plainfiles wrapper in order to deal with symlink stat calls.
>> An alternative (and it wouldn't take much to convince me to go the
>> other way) would be to add a parameter to the url_s
>> http:// wrapper:
>> is_writable() would always return false.
>> is_readable() would return true *IF* a HEAD request returned 2xx or
>> 3xx is_executable() would always return false.
>> file_exists() would return true if a HEAD request returned 2xx, 3xx,
>> or
>> 4xx (not including 404)
>
>
"Sara Golemon" <[EMAIL PROTECTED]> wrote:
> http:// wrapper:
> is_writable() would always return false.
> is_readable() would return true *IF* a HEAD request returned 2xx or 3xx
> is_executable() would always return false.
> file_exists() would return true if a HEAD request returned 2xx, 3
On Wednesday 13 August 2003 20:13, Moriyoshi Koizumi wrote:
> 304 Not Modified
>
> "r--"
Since we're looking at "simple http access" I don't think this should return
readable. Normally you would not be able to set headers when using
fopen('http://') (right?), so technically, you would not be ab