I'm a newbie to PHP and need to be able to get a list of the
files/sub-directories from a particular directory on the server (ie: I
want to load the list of files in the program's current directory into
an array).
This must be possible but somehow I can't find the syntax in my
documentation.
Can someone send me a snippet of syntax? Or point me towards a good
'howto' that maybe has a catalogue of PHP commands?
That would be a great help.
Many thanks,
Alan Searle