PhpRiot
Follow phpriot on Twitter
Sponsored Link
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store
Free iPad/iPhone App
Available on the App Store

  • PHP manual
  • Zend Framework manual
  • Smarty manual
  • PHP articles
  • PHP training

Directory Functions

See Also

For related functions such as dirname(), is_dir(), mkdir(), and rmdir(), see the Filesystem section.

Table of Contents

  • chdir - Change directory
  • chroot - Change the root directory
  • dir - Return an instance of the Directory class
  • closedir - Close directory handle
  • getcwd - Gets the current working directory
  • opendir - Open directory handle
  • readdir - Read entry from directory handle
  • rewinddir - Rewind directory handle
  • scandir - List files and directories inside the specified path

PHP Manual