<HTML ><HEAD ><TITLE >Filesystem functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="filepro_rowcount" HREF="function.filepro-rowcount.html"><LINK REL="NEXT" TITLE="basename" HREF="function.basename.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.filepro-rowcount.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.basename.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.filesystem" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XVI. Filesystem functions</H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.basename.html" >basename</A > — Return filename component of path </DT ><DT ><A HREF="function.chgrp.html" >chgrp</A > — Change file group</DT ><DT ><A HREF="function.chmod.html" >chmod</A > — Change file mode</DT ><DT ><A HREF="function.chown.html" >chown</A > — change file owner</DT ><DT ><A HREF="function.clearstatcache.html" >clearstatcache</A > — Clear file stat cache</DT ><DT ><A HREF="function.copy.html" >copy</A > — Copy file</DT ><DT ><A HREF="function.delete.html" >delete</A > — A dummy manual entry</DT ><DT ><A HREF="function.dirname.html" >dirname</A > — Return directory name component of path</DT ><DT ><A HREF="function.diskfreespace.html" >diskfreespace</A > — Return available space in directory</DT ><DT ><A HREF="function.fclose.html" >fclose</A > — Close an open file pointer</DT ><DT ><A HREF="function.feof.html" >feof</A > — Test for end-of-file on a file pointer</DT ><DT ><A HREF="function.fgetc.html" >fgetc</A > — Get character from file pointer</DT ><DT ><A HREF="function.fgetcsv.html" >fgetcsv</A > — Get line from file pointer and parse for CSV fields </DT ><DT ><A HREF="function.fgets.html" >fgets</A > — Get line from file pointer</DT ><DT ><A HREF="function.fgetss.html" >fgetss</A > — Get line from file pointer and strip HTML tags </DT ><DT ><A HREF="function.file.html" >file</A > — read entire file into an array</DT ><DT ><A HREF="function.file-exists.html" >file_exists</A > — Check whether a file exists</DT ><DT ><A HREF="function.fileatime.html" >fileatime</A > — Get last access time of file</DT ><DT ><A HREF="function.filectime.html" >filectime</A > — Get inode change time of file</DT ><DT ><A HREF="function.filegroup.html" >filegroup</A > — Get file group</DT ><DT ><A HREF="function.fileinode.html" >fileinode</A > — Get file inode</DT ><DT ><A HREF="function.filemtime.html" >filemtime</A > — Get file modification time</DT ><DT ><A HREF="function.fileowner.html" >fileowner</A > — Get file owner</DT ><DT ><A HREF="function.fileperms.html" >fileperms</A > — Get file permissions</DT ><DT ><A HREF="function.filesize.html" >filesize</A > — Get file size</DT ><DT ><A HREF="function.filetype.html" >filetype</A > — Get file type</DT ><DT ><A HREF="function.flock.html" >flock</A > — Portable advisory file locking</DT ><DT ><A HREF="function.fopen.html" >fopen</A > — Open file or URL</DT ><DT ><A HREF="function.fpassthru.html" >fpassthru</A > — Output all remaining data on a file pointer </DT ><DT ><A HREF="function.fputs.html" >fputs</A > — Write to a file pointer</DT ><DT ><A HREF="function.fread.html" >fread</A > — Binary-safe file read</DT ><DT ><A HREF="function.fseek.html" >fseek</A > — Seek on a file pointer</DT ><DT ><A HREF="function.ftell.html" >ftell</A > — Tell file pointer read/write position</DT ><DT ><A HREF="function.fwrite.html" >fwrite</A > — Binary-safe file write</DT ><DT ><A HREF="function.set-file-buffer.html" >set_file_buffer</A > — Sets file buffering on the given file pointer </DT ><DT ><A HREF="function.is-dir.html" >is_dir</A > — Tells whether the filename is a directory</DT ><DT ><A HREF="function.is-executable.html" >is_executable</A > — Tells whether the filename is executable</DT ><DT ><A HREF="function.is-file.html" >is_file</A > — Tells whether the filename is a regular file </DT ><DT ><A HREF="function.is-link.html" >is_link</A > — Tells whether the filename is a symbolic link </DT ><DT ><A HREF="function.is-readable.html" >is_readable</A > — Tells whether the filename is readable </DT ><DT ><A HREF="function.is-writeable.html" >is_writeable</A > — Tells whether the filename is writeable</DT ><DT ><A HREF="function.link.html" >link</A > — Create a hard link</DT ><DT ><A HREF="function.linkinfo.html" >linkinfo</A > — Get information about a link</DT ><DT ><A HREF="function.mkdir.html" >mkdir</A > — Make directory</DT ><DT ><A HREF="function.pclose.html" >pclose</A > — Close process file pointer</DT ><DT ><A HREF="function.popen.html" >popen</A > — Open process file pointer</DT ><DT ><A HREF="function.readfile.html" >readfile</A > — Output a file</DT ><DT ><A HREF="function.readlink.html" >readlink</A > — Return the target of a symbolic link</DT ><DT ><A HREF="function.rename.html" >rename</A > — Rename a file</DT ><DT ><A HREF="function.rewind.html" >rewind</A > — Rewind the position of a file pointer</DT ><DT ><A HREF="function.rmdir.html" >rmdir</A > — Remove directory</DT ><DT ><A HREF="function.stat.html" >stat</A > — Give information about a file</DT ><DT ><A HREF="function.lstat.html" >lstat</A > — Give information about a file or symbolic link </DT ><DT ><A HREF="function.symlink.html" >symlink</A > — Create a symbolic link</DT ><DT ><A HREF="function.tempnam.html" >tempnam</A > — create unique file name</DT ><DT ><A HREF="function.touch.html" >touch</A > — Set modification time of file</DT ><DT ><A HREF="function.umask.html" >umask</A > — Changes the current umask</DT ><DT ><A HREF="function.unlink.html" >unlink</A > — Delete a file</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.filepro-rowcount.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.basename.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >filepro_rowcount</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >basename</TD ></TR ></TABLE ></DIV ></BODY ></HTML >