Re: How to write a PHP coding to list out all files and directories aslinks to them?
| From: | Shawn McKenzie | Date: | Sat, 16 Apr 2011 20:02:47 +0000 |
| Subject: | Re: How to write a PHP coding to list out all files and directories aslinks to them? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312412@lists.php.net to get a copy of this message | ||
On 04/14/2011 06:16 PM, Mikhail S wrote:
> How to write a PHP coding to list out all files and directories as links to
> them?
>
> This is somewhat similar to some index pages. When new file or folder is
> added to the directory, HTML page should display the newly created
> file/folder together with previous ones after it is being refreshed. (prefer
> in alphabatical order)
>
> How to achieve this sort of functionality in PHP? Please provide sample
> coding as well. (and any references)
>
> Thanks.
>
> --
> Mike
> http://jp.shopsloop.com/
>
I prefer glob(). Give it a shot and ask for help on code that you have
tried.
--
Thanks!
-Shawn
http://www.spidean.com