Re: Directories & Files

From: Date: Tue, 31 Jul 2001 17:13:02 +0000
Subject: Re: Directories & Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60456@lists.php.net to get a copy of this message
There's an exemple right on the manual, function opendir();: if ($dir = @opendir("/tmp")) { while($file = readdir($dir)) { echo "$file\n"; } closedir($dir); } -- Julio Nobrega. 2B||!BB - That's the question. "Karl J. Stubsjoen" <karl@iexcelinlife.com> wrote in message news:POEGJHCLIMMHEMOIJJJKAEJAEFAA.karl@iexcelinlife.com... > GlacierI need to do a few things with files... 1 of them being to iterate > through a directory and display each file. How do you do this? > > > Karl J. Stubsjoen > www.iexcelinlife.com > karl@iexcelinlife.com > Phone: 602.4000047 > > >

« previous php.general (#60456) next »