$my_directory = "./stuff/morestuff")
$dir = dir($my_directory);
while($temp = $dir->read())
{
   $dirarray[] = $temp;
}


----- Original Message -----
From: "Anthony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 4:27 PM
Subject: [PHP-WIN] List files in a folder?


> Is there a way I can get a list of files in a folder though PHP?  I'd like
> to use PHP to access certian folders on my system through the browser, but
I
> need a way that I can load a list of files in a folder into an array.
> anyone have any ideas?
>
> PHP 4.3.1, Apache 2.0.45 on Win2K
>
> - Anthony
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to