<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Diretórios</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="Referência das Funções" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="dio_write" HREF="function.dio-write.html"><LINK REL="NEXT" TITLE="chdir" HREF="function.chdir.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.dio-write.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.chdir.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.dir" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XXIX. Diretórios</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN33420" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.intro" >Introdução</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.requirements" >Dependências</A ></H1 ><P >Nenhuma biblioteca externa é necessária para compilar esta extensão.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.installation" >Instalação</A ></H1 ><P >Não há nenhuma instalação necessária para utilizar estas funções, elas fazem parte do núcleo do PHP.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.configuration" >Configurações em execução</A ></H1 ><P >Esta extensão não define nenhum parâmetro de configuração no <TT CLASS="filename" >php.ini</TT >.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.resources" >Tipos Resource</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.constants" >Constantes pré-definidas</A ></H1 ><P > As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução. </P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT ><TT CLASS="constant" ><B >DIRECTORY_SEPARATOR</B ></TT > (<A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >PATH_SEPARATOR</B ></TT > (<A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >)</DT ><DD ><P > </P ></DD ></DL ></DIV ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > A constante <TT CLASS="constant" ><B >PATH_SEPARATOR</B ></TT > foi introduzida no PHP 4.3.0-RC2. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dir.seealso" >Veja também</A ></H1 ><P > Para funções relacionadas como <A HREF="function.dirname.html" ><B CLASS="function" >dirname()</B ></A >, <A HREF="function.is-dir.html" ><B CLASS="function" >is_dir()</B ></A >, <A HREF="function.mkdir.html" ><B CLASS="function" >mkdir()</B ></A > e <A HREF="function.rmdir.html" ><B CLASS="function" >rmdir()</B ></A >, veja a seção <A HREF="ref.filesystem.html" >Filesystem</A >. </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Índice</B ></DT ><DT ><A HREF="function.chdir.html" >chdir</A > -- Muda o diretório</DT ><DT ><A HREF="function.chroot.html" >chroot</A > -- Muda o diretório raiz (root)</DT ><DT ><A HREF="class.dir.html" >dir</A > -- classe diretório</DT ><DT ><A HREF="function.closedir.html" >closedir</A > -- fechar o handle do diretório</DT ><DT ><A HREF="function.getcwd.html" >getcwd</A > -- obtem o diretório atual</DT ><DT ><A HREF="function.opendir.html" >opendir</A > -- Abre um manipulador de diretório</DT ><DT ><A HREF="function.readdir.html" >readdir</A > -- Lê os campos do manipulador do diretório</DT ><DT ><A HREF="function.rewinddir.html" >rewinddir</A > -- voltar (rewind) o handle de diretório</DT ><DT ><A HREF="function.scandir.html" >scandir</A > -- Lista os arquivos e diretórios que estão no caminho especificado</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.dio-write.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.chdir.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >dio_write</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >chdir</TD ></TR ></TABLE ></DIV ></BODY ></HTML >