Connecting Tech Pros Worldwide Forums | Help | Site Map

How to list a directory

Rolf Wester
Guest
 
Posts: n/a
#1: Jul 17 '05
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

Shawn Wilson
Guest
 
Posts: n/a
#2: Jul 17 '05

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.
Rolf Wester
Guest
 
Posts: n/a
#3: Jul 17 '05

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