【发布时间】:2015-04-01 02:50:31
【问题描述】:
我的 index.html 文件在 c://xampp/htdocs/www
然后我在 c://xampp/htdocs/www/php 中的所有 .php 文件 我在 c://xampp/htdocs/www/images 中的所有图像文件 等等
但出于某种或其他原因,它正在 c://xampp/htdocs/www/php 中寻找 index.html?? 在我的 .php 文件中,当我想包含一个 .php 文件时,我只需要将其引用为
include ('functions.php');
应该是
include ('php/functions.php');
请问如何正确设置我的目录?
【问题讨论】: