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?
精彩评论