Home > Backend Development > PHP Tutorial > php调用本地php文件有关问题

php调用本地php文件有关问题

WBOY
Release: 2016-06-13 12:39:09
Original
1021 people have browsed it

php调用本地php文件问题
我有一个php文件,要循环一个数组构造一个url数组。

$keywords = keyword_split($res['keywords']);<br />
$path='../ajax/search.php?key=';<br />
foreach($keywords as $k){<br />
	$filename = $path.$k;<br />
	$content = 这里怎么调用这个php文件并返回内容???;<br />
	var_dump($content);<br />
}
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template