note 39256 added to function.array-push
| From: | oliverbl at hotmail dot com | Date: | Thu, 22 Jan 2004 04:31:38 +0000 |
| Subject: | note 39256 added to function.array-push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64000@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.array-push.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39256
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39256&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39256&report=yes
Search -- http://master.php.net/manage/user-notes.php