开发者

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

开发者 https://www.devze.com 2023-04-06 21:36 出处:网络
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.se

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

精彩评论

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

关注公众号