Connecting Tech Pros Worldwide Help | Site Map

How to list a directory

  #1  
Old July 17th, 2005, 03:28 AM
Rolf Wester
Guest
 
Posts: n/a
Hi,

I would like to get a list of a local directory content using php. I
would be very appreciative if anybody could tell me how to do that. I
loocked in the php manual but coulsn't find anything (probably I just
missed it).

Regards

Rolf Wester
  #2  
Old July 17th, 2005, 03:28 AM
Shawn Wilson
Guest
 
Posts: n/a

re: How to list a directory


Rolf Wester wrote:[color=blue]
>
> Hi,
>
> I would like to get a list of a local directory content using php. I
> would be very appreciative if anybody could tell me how to do that. I
> loocked in the php manual but coulsn't find anything (probably I just
> missed it).[/color]

Look up

opendir
while
readdir

Shawn
--
Shawn Wilson
shawn@glassgiant.com
http://www.glassgiant.com

I have a spam filter. Please include "PHP" in the
subject line to ensure I'll get your message.
  #3  
Old July 17th, 2005, 03:28 AM
Rolf Wester
Guest
 
Posts: n/a

re: How to list a directory


Shawn Wilson wrote:[color=blue]
> Rolf Wester wrote:
>[color=green]
>>Hi,
>>
>>I would like to get a list of a local directory content using php. I
>>would be very appreciative if anybody could tell me how to do that. I
>>loocked in the php manual but coulsn't find anything (probably I just
>>missed it).[/color]
>
>
> Look up
>
> opendir
> while
> readdir
>
> Shawn[/color]
Thanks a lot

Rolf
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipe to list all readable text files Trevor17 answers 1 May 20th, 2009 01:35 AM
List Directory- Include Hiden files - Access !? ragazzo answers 3 November 20th, 2008 07:13 PM
Is it possible to list directory content with CURL Steve answers 1 August 2nd, 2008 06:35 PM
how to list out all the folder names in the directory fanoftvb answers 2 May 18th, 2007 01:59 PM
How to list the webservers and their physical directory muyiqiao answers 0 November 20th, 2005 11:08 AM