开发者

How can i get list of files which are matching search keyword

Doing a glob开发者_高级运维al search box, need to get filename & directory path of matching pattern inside the file content, Can anybody help with the code? I'm new to PHP can anybody help plz.


set a new variable depending on the path to the document ie.

if (dirname($_SERVER['PHP_SELF'])) != "include/")
{
    $linkbase = "include/";
}

include($linkbase."page.php");

any help?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜