Connecting Tech Pros Worldwide Help | Site Map

directory listing with array

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:30 PM
Davide
Guest
 
Posts: n/a
Default directory listing with array

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, 01:30 PM
Daniel Tryba
Guest
 
Posts: n/a
Default 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, 01:30 PM
Davide
Guest
 
Posts: n/a
Default Re: directory listing with array

IT WORKS!

Cheers :)

  #4  
Old July 17th, 2005, 01:30 PM
Chung Leong
Guest
 
Posts: n/a
Default Re: directory listing with array

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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.