Jump to content

How to write a PHP coding to list out all files and directories as links to them


Lorretta

Recommended Posts

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.

 

 

 

 

--------------------------------------------------------------------------------------------------

Spammity spam links removed.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.