Simple question (I hope!) I would like to search for files in a local directory (on my server) by partial filename. I'd like the results in an array, the way ftp_nlist does.
In one script I wrote, I use the following:
$contents = ftp_nlist($conn_id, "./MA*.zip");
This gives me an array of files to work with, which I can then manipulate in a "for" clause. Can I do a similar local search by partial filename? Hope this isn't too elementary!