阅读背景:

PHP:如何使用通配符搜索文件

来源:互联网 

I need to read a file in PHP, but I only know the end of the filename, so I need to serch the file in a given directory using wildcards: *filename.wav and then return it to the browser. Is there a function to do that? or I need to get all the files in the directory and then search one by one?I need to read a file in PHP, but I only know t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: