downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Stream Funções> <streamWrapper::unlink
[edit] Last updated: Fri, 10 Feb 2012

view this page in

streamWrapper::url_stat

(PHP 4 >= 4.3.2, PHP 5)

streamWrapper::url_statRetrieve information about a file

Parâmetros

path

The file path or URL to stat. Note that in the case of a URL, it must be a :// delimited URL. Other URL forms are not supported.

flags

Holds additional flags set by the streams API. It can hold one or more of the following values OR'd together.

Flag Description
STREAM_URL_STAT_LINK For resources with the ability to link to other resource (such as an HTTP Location: forward, or a filesystem symlink). This flag specified that only information about the link itself should be returned, not the resource pointed to by the link. This flag is set in response to calls to lstat(), is_link(), or filetype().
STREAM_URL_STAT_QUIET If this flag is set, your wrapper should not raise any errors. If this flag is not set, you are responsible for reporting errors using the trigger_error() function during stating of the path.

Valor Retornado

Should return as many elements as stat() does. Unknown or unavailable values should be set to a rational value (usually 0).

Erros

Emite E_WARNING se uma chamada a esse método falhar (ex. não implementado).

Notas

Nota:

The a propriedade streamWrapper->context é atualizada se um contexto válido é passado para a função chamadora.

Veja Também



add a note add a note User Contributed Notes streamWrapper::url_stat
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites