用户
 找回密码
 入住 CI 中国社区
搜索
查看: 4432|回复: 1
收起左侧

[HELP] kindeditor获取内容传到后台没数据

[复制链接]
发表于 2013-10-12 11:08:33 | 显示全部楼层 |阅读模式
用kindeditor编辑器往后台传数据,当数据量大的时候.用       $content = $this->input->post('content');获取的时候,竟然为空?
前台是这么写
      <form  method="post" action="<?php echo site_url('admin_knowledge/knowledge_adddata') ?>"  id="fooee_addform" enctype="multipart/form-data">
   <textarea  name="content" id ="content" style="width:700px;height:300px;"><?php echo $record["k_content"]; ?></textarea>
</form>
<script type="text/javascript">
  var editor;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="content"]', {
            resizeType : 1,
            allowPreviewEmoticons : false,
            allowImageUpload : false,
            items : ['source','fontname', 'fontsize', '|',  'bold', 'italic', 'underline',
                'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                'insertunorderedlist']
        });

    });
</script>
后台用
  $content = $this->input->post('content');
但是当数据量大比如从网上复制一篇文章的时候,获取到的竟然为空?这是怎么回事?
发表于 2013-10-16 07:01:06 | 显示全部楼层
在php.ini里面可能有最大POST的设置,你检查过是多少么?是不是你POST的超过限制了。
尝试改大这个值。

本版积分规则