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

search for in the

streamWrapper::rename> <streamWrapper::dir_rewinddir
[edit] Last updated: Fri, 24 Feb 2012

view this page in

streamWrapper::mkdir

(PHP 5)

streamWrapper::mkdirCreate a directory

Descrição

public bool streamWrapper::mkdir ( string $path , int $mode , int $options )

This method is called in response to mkdir().

Nota:

In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support creating directories.

Parâmetros

path

Directory which should be created.

mode

The value passed to mkdir().

options

A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

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::mkdir
There are no user contributed notes for this page.

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