在 01 的目录下面,有个 HTMLS,里面放着一个 index.htm 文件,也就是 01\HTMLS\index.html我在 01 的目录下面有个,index.php 文件,文件如下 01\index.php
<?
include_once("smarty_inc.php");
$smarty->display("./HTMLS/index.htm");
?>
问什么现实路径错误呢?应该怎么写呢?谢谢大家。
<?
include_once("smarty_inc.php");
$smarty->display("./HTMLS/index.htm");
?>
问什么现实路径错误呢?应该怎么写呢?谢谢大家。
$smarty->display("./HTMLS/index.htm");是在不行就试一试
$smarty->display("./index.html");