您好,欢迎访问一九零五行业门户网

用于前台调用ThinkPHP小脚本

html页面调用thinkphp小脚本样例
这里主要实现在view下的html页面调用后台的php代码:
index page:this is testtemplate index page!
>ace template
>admin02 template  wysiwyg-color.css 未找到 存在隐患
>akiraindex template
>ariesindex template
>bamasterindex template
>seenindex template
>simpliqindex template
>ace template 注意 : u('testtemplate/index/aceindex') }> 加粗部分为在配置文件修改。
在thinkphp/conf/convention.php 默认配置为
 'tmpl_l_delim'          =>  '{',            // 模板引擎普通标签开始标记
    'tmpl_r_delim'          =>  '}',            // 模板引擎普通标签结束标记 为了区分{} 我在项目文件夹下,修改了给配置项为
'tmpl_l_delim'          =>  '    'tmpl_r_delim'          =>  '}>',            // 模板引擎普通标签结束标记 以上仅为个人备忘。还希望多提宝贵意见。
ad:真正免费,域名+虚机+企业邮箱=0元
其它类似信息

推荐信息