198行改成
if (isset($header))

解决方案 »

  1.   

    谢谢 楼上两位!!
    ice_berg16(寻梦的稻草人)的那个信息发布系统,俺研究了很久,学了不少东西!!再次谢谢!!
      

  2.   

    function append ( $name, $value ) //这里是198行
    {
    if (is_array($value))
    {
    $this->data[$name][]  =  $value;
    }
    elseif (!is_array($this->data[$name]))
    {
    $this->data[$name]  .=  $value;
    }
    }要改成if (isset($header))?怎么改?
      

  3.   

    注意是class.smarttemplateparser.php 
    不是class.smarttemplate.php
      

  4.   

    变量$header未定义
    59 function compile( $compiled_template_filename = '' )
    60 {
    $header = ''; //加上
    61 if (empty($this->template))
    62 {
    63 return;
    64 }