Re: list files from directory on a site
- From: Steven Saunderson <Phelum@xxxxxx>
- Date: Fri, 05 May 2006 11:50:50 +1000
On Thu, 04 May 2006 17:39:32 -0700, Jim Moe
<jmm-list.AXSPAMGN@xxxxxxxxxxxxxx> wrote:
chlori wrote:
That should be "readdir($dir_list)) != false".If you can run PHP files on your server you could use something like
this:
<?php
$dir=""; // Directory where files are stored
if ($dir_list = opendir($dir)) {
while(($filename = readdir($dir_list)) !== false) {
No !!! The original is correct.
--
Steven
.
- Follow-Ups:
- Re: list files from directory on a site
- From: Jim Moe
- Re: list files from directory on a site
- References:
- list files from directory on a site
- From: chlori
- Re: list files from directory on a site
- From: Martin Jay
- Re: list files from directory on a site
- From: chlori
- Re: list files from directory on a site
- From: Jim Moe
- list files from directory on a site
- Prev by Date: Re: Margins versus padding
- Next by Date: Re: How to distinguish several <div>
- Previous by thread: Re: list files from directory on a site
- Next by thread: Re: list files from directory on a site
- Index(es):