cailing.html这个文件在吗?给点代码

解决方案 »

  1.   

    你的模板资源有问题。
    模板资源可以指定文本和数据库,默认是文本。
    你那个提示是无法找到cailing.html这个文本的模板文件。
    检查一下设置的模板路径是否正确。
    建议你先好好看看文档再用。
      

  2.   

    include_once("/web/http_socket/sms_class/class.Config.php");
    include_once("conn.php");
    include_once("/web/cms/libs/Smarty.class.php");$smarty=new Smarty();
    $smarty->template_dir="/web/http_socket/cailing_set_job/templates/";
    $smarty->compile_dir="/web/http_socket/cailing_set_job/templates_c/";
    我是搬别人用smarty的代码,可能是后两句不对,请指点
      

  3.   

    弄好了,谢谢allkill(傲气游) helloyou0(你好!)