Is there any size limitation for ajax post?

后端 未结 4 680
独厮守ぢ
独厮守ぢ 2020-12-03 11:42

I\'m posting ckeditor content via Ajax to php. But getting 4-5 sentence of posted material in my db table. I wonder, Is there any size limitation for ajax post? is there an

4条回答
  •  醉酒成梦
    2020-12-03 12:10

    There isn't any size limitation for POSTs in HTTP.

    Maybe you have an & in your content variable. Then everything after that would be stripped after that.

    Other than that what type do you use for your data column in the database? Is it, by any chance, something like varchar(1000)? Then anything bigger would also get stripped.

    Check what you actually receive on the server end, so you know if you've got a problem with the code or the database.

提交回复
热议问题