| 
	
 | 
 Posted by Johnny on 02/26/06 06:44 
"David Haynes" <david.haynes2@sympatico.ca> wrote in message 
news:PG5Mf.9897$2a4.2573@fe71.usenetserver.com... 
> henshu wrote: 
> > Complete n00b question yet again. Anyone know a way to make PHP pull a 
> > "file list" (know as dir in windows, ls in *nix, etc) for a specific 
> > directory, and have PHP print the results onto the page? 
> http://www.php.net/manual/en/ref.dir.php 
> Look at the opendir, readdir and closedir functions. 
> 
> -david- 
> 
but be aware that on most servers the openbase restrictions prevent from 
reading outside your own directories.
 
  
Navigation:
[Reply to this message] 
 |