[Sussex] PHP Question: How to include all files in a directory

sparkeh at btinternet.com sparkeh at btinternet.com
Sun Feb 13 22:50:54 UTC 2005


> But where do I get $fileList from?
> 
> Steve

http://uk2.php.net/manual/en/function.readdir.php

Also look at is_file() - you don't want to try and
include/require . or ..

-Mark





More information about the Sussex mailing list