Home > Backend Development > PHP Tutorial > php:view中间的html标签,后面的部分标签被截断不显示

php:view中间的html标签,后面的部分标签被截断不显示

WBOY
Release: 2016-06-13 12:20:08
Original
1133 people have browsed it

php:view当中的html标签,后面的部分标签被截断不显示

本帖最后由 Sunhk_25 于 2014-11-26 17:38:29 编辑 如题,查了一小修改php.ini 改成output_buffering = On也不行
在浏览器中查看生成的代码最后部分
    
    
    
    
后面完整的话应该是
    
    

CentOS7 php5.4 Server version: Apache/2.4.6 (CentOS)
还有d丢失的html标签是静态的,其他有动态js生成的没有问题。
*php中我有给url,form加随机数,来防止缓存,把output_add_rewrite_var注释掉后就可以了,但是action就没有了随机数
ini_set('url_rewriter.tags', 'a=href,area=href,frame=src,input=src,form=action,fieldset=');
//output_add_rewrite_var('rand', rand());
------解决思路----------------------
我回了,给分
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template