Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 cars.php 文件包含到 index.php 主题中;car.php 文件是脚本,它从服务器加载数据并用作预订系统,当我尝试照常连接时include('/.cars.php');,并在浏览器中检查源代码,它在那里,但没有出现任何表单。
include('/.cars.php');
可能是wordpress引擎本身的问题吗?
我认为您可能有include('/.cars.php');错字include('./cars.php');
include('./cars.php');
您现在所拥有的将在根目录中查找名为.cars.php
.cars.php