note 39256 deleted from function.array-push by didou
| From: | didou@php.net | Date: | Thu, 22 Jan 2004 10:31:36 +0000 |
| Subject: | note 39256 deleted from function.array-push by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64006@lists.php.net to get a copy of this message | ||
Note Submitter: oliverbl@hotmail.com
----
Storing the files in a array.
$list = array();
if ($handle = opendir('your/path')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
array_push($list, $file);
}
}
visite please:
www.trakinar.com.br