Connecting Tech Pros Worldwide Help | Site Map

directory listing with array

  #1  
Old July 17th, 2005, 02:30 PM
Davide
Guest
 
Posts: n/a
Hi all,

I need to wiev in a php page the listing of one on my directory in the
webserver.

can someone help me to understand how?

for every file in thw directory I need a row in a html file..

directory: /opt/dir

result:

file1
file2
file3
...

Really thanx

  #2  
Old July 17th, 2005, 02:30 PM
Daniel Tryba
Guest
 
Posts: n/a

re: directory listing with array


Davide <davide.papagno@gmail.com> wrote:[color=blue]
> Hi all,
>
> I need to wiev in a php page the listing of one on my directory in the
> webserver.
>
> can someone help me to understand how?[/color]

That is a simple RTFM, http://nl3.php.net/readdir contains all examples
you need to know how to handle this.

  #3  
Old July 17th, 2005, 02:30 PM
Davide
Guest
 
Posts: n/a

re: directory listing with array


IT WORKS!

Cheers :)

  #4  
Old July 17th, 2005, 02:30 PM
Chung Leong
Guest
 
Posts: n/a

re: directory listing with array


For the lazy: http://fi.php.net/glob/

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# - APP: Troubles Getting a directory Listing of a Mapped Drive epikto answers 7 April 20th, 2007 04:38 PM
directory listing clientside PhilM answers 7 July 20th, 2005 02:11 PM
Directory listing with file info Kim Jensen answers 15 July 17th, 2005 10:36 AM
Directory Listing ... Alan Searle answers 3 July 17th, 2005 07:50 AM