Re: Listing the contents of a directory in an array

From: Date: Fri, 17 May 2002 18:19:14 +0000
Subject: Re: Listing the contents of a directory in an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98159@lists.php.net to get a copy of this message
On Fri, 17 May 2002 webmaster@tececo.com wrote: > I am a newbie so be kind > > I have looked into the manual about directory functions etc. > > I want to return all the files from a directory into a array. > > Could some one give me a few pointers or something? > > I keep getting confused but I have used google and the manual. > > I can find functions but I am not sure how I can list the files into an array. RTFM. The very first user example in the manual page for readdir is "Here's a quick code snippet that will load the directory data into an array". miguel

« previous php.general (#98159) next »