readdir : Directory : File Directory PHP Source Code
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PHP Source Code
»
File Directory
»
Directory
»
readdir
<?php
$dh = opendir
(
'./');
while
(
$file = readdir
(
$dh
))
echo
"$file <br>"
;
closedir
(
$dh
)
;
?>
HTML code for linking to this page:
Related in same category :
Listing the Contents of a Directory with readdir()
Calculate the size for a directory
scandir
The current working directory
Print all files under a directory
Read the content from a directory
Reading Contents from a Directory
Clean Path by Regular Expressions
PHP Function Reference -> Users Code Examples / Notes - > Directory:
Special use for error pages or self-made directory listings (PHP >= 4.3.3)
Special use for error pages or self-made directory listings (PHP >= 4.3.3)
Directory Functions
fam_monitor_directory
DirectoryIterator::__construct
DirectoryIterator::current
DirectoryIterator::getATime
DirectoryIterator::getCTime
DirectoryIterator::getFilename
DirectoryIterator::getGroup
DirectoryIterator::getInode
DirectoryIterator::getMTime
DirectoryIterator::getOwner
DirectoryIterator::getPath
DirectoryIterator::getPathname
DirectoryIterator::getPerms
DirectoryIterator::getSize
DirectoryIterator::getType
DirectoryIterator::isDir
DirectoryIterator::isDot
DirectoryIterator::isExecutable
DirectoryIterator::isFile
DirectoryIterator::isLink
DirectoryIterator::isReadable
DirectoryIterator::isWritable
DirectoryIterator::key
DirectoryIterator::next
DirectoryIterator::rewind
DirectoryIterator::valid
RecursiveDirectoryIterator::getChildren
RecursiveDirectoryIterator::hasChildren
RecursiveDirectoryIterator::key
RecursiveDirectoryIterator::next
RecursiveDirectoryIterator::rewind
PHP Source Code
File Directory
»
Directory
Directory Create Delete
Directory
Disk Drive
File Close
File Copy Move
File Delete
File Exist
File Lock
File Open
File Property
File Read
File Seek
File Upload
File Write
File
Path
Stream Context
Stream Filter
Text File Read
Text File Write
Chart
Class
COM and .Net (Windows)
Components
Cookie Session
Data Structure
Databases
Design Patterns
Development
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
String
Web Services SOAP WSDL
XML