Mar 9, 2003 #1 csbdeady Programmer May 18, 2002 119 GB Hi there I've a directory of files (exciting eh?) that I need in an array thus: /a.php /b.php /c.php ... Run some code to dynamically pull in the file names above and then: array element 0 = a.php array element 1 = b.php ... Any thoughts? Many thanks! -Colin
Hi there I've a directory of files (exciting eh?) that I need in an array thus: /a.php /b.php /c.php ... Run some code to dynamically pull in the file names above and then: array element 0 = a.php array element 1 = b.php ... Any thoughts? Many thanks! -Colin
Mar 9, 2003 Thread starter #2 csbdeady Programmer May 18, 2002 119 GB ...and 2 seconds after submitting I have a brainwave and look up "readdir" in the PHP manual... hey presto! All sorted -Colin Upvote 0 Downvote
...and 2 seconds after submitting I have a brainwave and look up "readdir" in the PHP manual... hey presto! All sorted -Colin